use same folder structure in etc/systemd as used once installed

This commit is contained in:
j 2016-06-09 12:50:34 +02:00
commit cb6203ff82
7 changed files with 3 additions and 3 deletions

2
ctl
View file

@ -46,7 +46,7 @@ if [ "$action" = "install" ]; then
/lib/systemd/system/pandora-encoding.service \
/lib/systemd/system/pandora-tasks.service \
/lib/systemd/system/pandora-websocketd.service
cp $BASE/etc/systemd/*.service /etc/systemd/system/
cp $BASE/etc/systemd/system/*.service /etc/systemd/system/
cp $BASE/etc/tmpfiles.d/pandora.conf /etc/tmpfiles.d/
systemd-tmpfiles --create /etc/tmpfiles.d/pandora.conf >/dev/null || true
systemctl daemon-reload