[TASK] Migrate to systemctl service.

This commit is contained in:
JPT
2016-10-30 16:10:31 +01:00
parent 72fc02b3c1
commit 4fd639f02e
4 changed files with 36 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=File system monitoring irc bot
After=network.target
[Service]
Type=simple
User=%USER%
Group=%GROUP%
ExecStart=%PWD%/venv/bin/python %PWD%/ftpbot.py
[Install]
WantedBy=multi-user.target