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]
|
||||
Description=hayai - An EEW system for Linux
|
||||
After=network.target
|
||||
PartOf=graphical-session.target
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=4
|
||||
|
||||
[Service]
|
||||
User=%i
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/usr/bin/hayai
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
@ -21,4 +20,4 @@ MemoryDenyWriteExecute=true
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=graphical-session.target
|
Loading…
Reference in New Issue
Block a user