diff --git a/fdskun.py b/ftpbot.py similarity index 100% rename from fdskun.py rename to ftpbot.py diff --git a/install.sh b/install.sh index 0073899..440e80f 100755 --- a/install.sh +++ b/install.sh @@ -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." diff --git a/register_service.sh b/register_service.sh new file mode 100755 index 0000000..daddf2b --- /dev/null +++ b/register_service.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +sudo cp ftpbot.service /etc/systemd/system/ +sudo systemctl enable ftpbot.service +sudo systemctl start ftpbot.service