init scripts and name
This commit is contained in:
parent
1f2b52fe29
commit
ac23b43e9f
6 changed files with 75 additions and 1 deletions
14
etc/init/pandora-backgroundtasks.conf
Normal file
14
etc/init/pandora-backgroundtasks.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# pandora background server
|
||||
#
|
||||
|
||||
description "pandora background server"
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
|
||||
chdir /srv/pandora/pandora
|
||||
|
||||
exec /bin/su pandora -s /usr/bin/python2.6 /srv/pandora/pandora/bin/pandora-backgroundtasks
|
||||
|
||||
14
etc/init/pandora-encoder.conf
Normal file
14
etc/init/pandora-encoder.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# pandora background server
|
||||
#
|
||||
|
||||
description "pandora background server"
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
|
||||
chdir /srv/pandora/pandora
|
||||
|
||||
exec /bin/su pandora -s /usr/bin/python2.6 /srv/pandora/pandora/bin/pandora-encoder
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue