Install pypo with pip and change script prefix to default /usr/local

This commit is contained in:
jo 2021-10-01 17:41:20 +02:00
parent 24203e2086
commit d7615cfe37
3 changed files with 3 additions and 3 deletions

View File

@ -1028,7 +1028,7 @@ loudCmd "$pip_cmd install ${AIRTIMEROOT}/python_apps/api_clients"
verbose "...Done"
verbose "\n * Installing pypo and liquidsoap..."
loudCmd "$python_bin ${AIRTIMEROOT}/python_apps/pypo/setup.py install --install-scripts=/usr/bin"
loudCmd "$pip_cmd install ${AIRTIMEROOT}/python_apps/pypo"
loudCmd "mkdir -p /var/log/airtime/{pypo,pypo-liquidsoap} /var/tmp/airtime/pypo/{cache,files,tmp} /var/tmp/airtime/show-recorder/"
loudCmd "chown -R ${web_user}:${web_user} /var/log/airtime/{pypo,pypo-liquidsoap} /var/tmp/airtime/pypo/{cache,files,tmp} /var/tmp/airtime/show-recorder/"
systemInitInstall libretime-liquidsoap "$web_user"

View File

@ -2,7 +2,7 @@
Description=Libretime Liquidsoap Service
[Service]
ExecStart=/usr/bin/airtime-liquidsoap
ExecStart=/usr/local/bin/airtime-liquidsoap
User=libretime-playout
Group=libretime-playout
Restart=always

View File

@ -3,7 +3,7 @@ Description=Libretime Playout Service
After=network-online.target
[Service]
ExecStart=/usr/bin/airtime-playout
ExecStart=/usr/local/bin/airtime-playout
User=libretime-pypo
Group=libretime-pypo
Restart=always