1
0
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:
Ferdinand Mütsch 2023-01-29 16:41:15 +01:00 committed by GitHub
parent 83ecf43d90
commit 592e0ed135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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