Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
add service unit file for systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
arnisoph committed Dec 31, 2016
1 parent fd3f963 commit 8608b28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions snippets/tabellarius.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=tabellarius

[Service]
ExecStart=/usr/bin/python3 /usr/lib/python3.4/site-packages/tabellarius/tabellarius.py --confdir=/var/games/tabellarius/mailfilter-settings/config/ --sleep=10
ExecStop=/usr/bin/pkill tabellarius
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 8608b28

Please sign in to comment.