Updated init scripts a little

This commit is contained in:
Bas Stottelaar
2014-06-02 10:24:18 +02:00
parent 19c4e7d7d3
commit 5064beffe9
4 changed files with 25 additions and 24 deletions
+4 -4
View File
@@ -7,7 +7,7 @@
<service name="application/headphones" type="service" version="1">
<create_default_instance enabled="true"/>
<single_instance/>
<dependency name="network" grouping="require_all" restart_on="error" type="service">
@@ -22,7 +22,7 @@
<method_credential user="sabnzbd" group="sabnzbd"/>
</method_context>
<exec_method type="method" name="start" exec="python /opt/headphones/Headphones.py -d" timeout_seconds="60"/>
<exec_method type="method" name="start" exec="python /opt/headphones/Headphones.py --daemon --quiet --nolaunch" timeout_seconds="60"/>
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
@@ -30,8 +30,8 @@
<propval name="duration" type="astring" value="contract"/>
<propval name="ignore_error" type="astring" value="core,signal"/>
</property_group>
<stability value="Evolving"/>
<template>