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
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ Environment=WAKAPI_PASSWORD_SALT=somerandomstring
# sudo useradd -g wakapi wakapi
User=wakapi
Group=wakapi
RuntimeDirectory=wakapi # creates /run/wakapi, useful to place your socket file there
Restart=on-failure
RestartSec=90
@ -50,4 +51,4 @@ ProtectHostname=true
ProtectProc=invisible
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target