refactor(airtime_analyzer): rename to libretime-analyzer and make entrypoint pythonic
This commit is contained in:
parent
b6d22c94a1
commit
e21abf1bf1
15 changed files with 155 additions and 170 deletions
|
@ -2,7 +2,7 @@
|
|||
Description=LibreTime Media Analyzer Service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/airtime_analyzer
|
||||
ExecStart=/usr/bin/libretime-analyzer
|
||||
User=libretime-analyzer
|
||||
Group=libretime-analyzer
|
||||
Restart=always
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: airtime_analyzer
|
||||
# Provides: libretime-analyzer
|
||||
# Required-Start: $local_fs $remote_fs $network $syslog $all
|
||||
# Required-Stop: $local_fs $remote_fs $network $syslog
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Manage airtime_analyzer daemon
|
||||
# Short-Description: Manage libretime-analyzer daemon
|
||||
### END INIT INFO
|
||||
|
||||
USERID=www-data
|
||||
GROUPID=www-data
|
||||
NAME=airtime_analyzer
|
||||
NAME=libretime-analyzer
|
||||
|
||||
DAEMON=/usr/bin/$NAME
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
|
|
|
@ -15,10 +15,10 @@ env LANG='en_US.UTF-8'
|
|||
env LC_ALL='en_US.UTF-8'
|
||||
|
||||
#script
|
||||
# airtime_analyzer
|
||||
# libretime-analyzer
|
||||
#end script
|
||||
|
||||
exec airtime_analyzer
|
||||
exec libretime-analyzer
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue