refucktoring
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
install:
|
||||
@sudo cp -v main.py /usr/local/bin/butler.py
|
||||
@sudo cp -v port-butler.service /etc/systemd/system/
|
||||
@sudo cp -v config.ini /etc/butler.ini
|
||||
sudo chmod a+x /usr/local/bin/butler.py
|
||||
sudo systemctl daemon-reload
|
||||
|
||||
run:
|
||||
bash -c 'nohup python3 main.py >nohup.out 2>&1 & disown'
|
||||
sudo bash -c 'nohup python3 main.py >nohup.out 2>&1 & disown'
|
||||
|
||||
Reference in New Issue
Block a user