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

This commit is contained in:
JPT committed 2016-10-30 16:14:26 +01:00
1 parent 4fd639f02e
commit 322dee753a
3 files changed
+6

No files matched your search

View File
File renamed without changes.
+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