add install and uninstall commands for systemd service

This commit is contained in:
2020-11-05 01:03:07 +01:00
parent 0b8e32fe53
commit 73b6e8fa0b
5 changed files with 113 additions and 10 deletions

11
misc/pyinotifyd.service Normal file
View File

@@ -0,0 +1,11 @@
[Unit]
Description=pyinotifyd
After=fs.target
[Service]
Type=simple
ExecStart=/usr/bin/pyinotifyd
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target