Add systemd service

This commit is contained in:
Łukasz Wojniłowicz 2024-06-09 16:54:41 +02:00
parent 8a82b9f973
commit e6fc2e4f9c

View File

@ -0,0 +1,17 @@
[Service]
Type=simple
TimeoutStartSec=120
ExecStartPre=/bin/sleep 5
ExecStart=aw-awatcher
Restart=always
RestartSec=5
RestartSteps=2
RestartMaxDelaySec=15
[Unit]
Description=AWatcher
After=aw-server.service graphical-session.target
Requires=aw-server.service
[Install]
WantedBy=graphical-session.target