You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
289 B
Makefile

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:
sudo bash -c 'nohup python3 main.py >nohup.out 2>&1 & disown'