mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: add runtime directory param to systemd unit [skip ci]
This commit is contained in:
parent
83ecf43d90
commit
592e0ed135
@ -28,6 +28,7 @@ Environment=WAKAPI_PASSWORD_SALT=somerandomstring
|
|||||||
# sudo useradd -g wakapi wakapi
|
# sudo useradd -g wakapi wakapi
|
||||||
User=wakapi
|
User=wakapi
|
||||||
Group=wakapi
|
Group=wakapi
|
||||||
|
RuntimeDirectory=wakapi # creates /run/wakapi, useful to place your socket file there
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=90
|
RestartSec=90
|
||||||
@ -50,4 +51,4 @@ ProtectHostname=true
|
|||||||
ProtectProc=invisible
|
ProtectProc=invisible
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user