mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-04 02:20:15 +00:00
Add systemd service
This commit is contained in:
parent
8a82b9f973
commit
e6fc2e4f9c
17
watchers/service/aw-awatcher.service
Normal file
17
watchers/service/aw-awatcher.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user