Add systemd service file

master
earnest ma 2022-05-19 21:25:26 -04:00
parent 13eb8ad46a
commit 9949984269
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 17 additions and 0 deletions

17
autodoist.service Normal file
View File

@ -0,0 +1,17 @@
[Unit]
Description=Autodoist
After=syslog.target
After=network.target
[Service]
RestartSec=5s
Type=simple
User=earne
Group=earne
WorkingDirectory=/home/earne/autodoist
ExecStart=/home/earne/autodoist/run.sh
Restart=always
# Environment=
[Install]
WantedBy=multi-user.target