mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-04 02:20:15 +00:00
Merge pull request #23 from wojnilowicz/add-service
This commit is contained in:
commit
810707cc46
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