Merge pull request #1513 from rootzoll/fix-faraday-systemd-unit

Update bonus.faraday.sh
This commit is contained in:
frennkie 2020-09-08 20:42:51 +02:00 committed by GitHub
commit 3d5547dff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,8 +194,8 @@ StandardError=journal
WantedBy=multi-user.target
EOF
sudo mv /mnt/hdd/temp/faraday.service /etc/systemd/system/faraday.service
sudo chown root:root /etc/systemd/system/faraday.service
sudo install -m 0644 -o root -g root -t /etc/systemd/system /mnt/hdd/temp/faraday.service
sudo rm -rf /mnt/hdd/temp/faraday.service
sudo systemctl enable faraday
if [ "${state}" == "ready" ]; then
sudo systemctl start faraday