mirror of
https://github.com/make-42/hayai.git
synced 2024-11-22 16:40:09 +01:00
feat: fix service
This commit is contained in:
parent
7979ed3509
commit
237f2e1b07
@ -1,12 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=hayai - An EEW system for Linux
|
Description=hayai - An EEW system for Linux
|
||||||
After=network.target
|
PartOf=graphical-session.target
|
||||||
StartLimitIntervalSec=60
|
StartLimitIntervalSec=60
|
||||||
StartLimitBurst=4
|
StartLimitBurst=4
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=%i
|
User=%i
|
||||||
Environment=DISPLAY=:0
|
|
||||||
ExecStart=/usr/bin/hayai
|
ExecStart=/usr/bin/hayai
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
@ -21,4 +20,4 @@ MemoryDenyWriteExecute=true
|
|||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=graphical-session.target
|
Loading…
Reference in New Issue
Block a user