-remove some symbolic links from /usr/bin. These are now
handled through init.d script
This commit is contained in:
parent
e90e6d7c12
commit
4facadf521
6 changed files with 8 additions and 22 deletions
|
@ -11,9 +11,9 @@
|
|||
|
||||
USERID=pypo
|
||||
GROUPID=pypo
|
||||
NAME=Airtime
|
||||
NAME=Airtime\ Show\ Recorder
|
||||
|
||||
DAEMON=/usr/bin/airtime-show-recorder
|
||||
DAEMON=/usr/lib/airtime/show-recorder/airtime-show-recorder
|
||||
PIDFILE=/var/run/airtime-show-recorder.pid
|
||||
|
||||
start () {
|
||||
|
|
|
@ -63,10 +63,6 @@ try:
|
|||
os.system("chmod -R 755 "+config["bin_dir"])
|
||||
os.system("chown -R pypo:pypo "+config["bin_dir"])
|
||||
|
||||
print "Creating symbolic links"
|
||||
os.system("rm -f /usr/bin/airtime-show-recorder")
|
||||
os.system("ln -s "+config["bin_dir"]+"/airtime-show-recorder /usr/bin/")
|
||||
|
||||
print "Installing show-recorder daemon"
|
||||
shutil.copy(config["bin_dir"]+"/airtime-show-recorder-init-d", "/etc/init.d/airtime-show-recorder")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue