[TASK] Rename main python file, add shell script to register with systemd

This commit is contained in:
JPT
2016-10-30 16:14:26 +01:00
parent 4fd639f02e
commit 322dee753a
3 changed files with 6 additions and 0 deletions
View File
+1
View File
@@ -17,3 +17,4 @@ sed -i "s#%GROUP%#$GROUP#g" ftpbot.service
sed -i "s#%PWD%#$PWD#g" ftpbot.service
echo "Put ftpbot.servive within /etc/systemd/system and use systemctl to configure the service."
echo "You can use register_service.sh to do this via sudo."
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
sudo cp ftpbot.service /etc/systemd/system/
sudo systemctl enable ftpbot.service
sudo systemctl start ftpbot.service