[TASK] Rename main python file, add shell script to register with systemd
This commit is contained in:
@@ -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."
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo cp ftpbot.service /etc/systemd/system/
|
||||
sudo systemctl enable ftpbot.service
|
||||
sudo systemctl start ftpbot.service
|
||||
Reference in New Issue
Block a user