Skip to content

Commit

Permalink
chore: add runtime directory param to systemd unit [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
muety authored Jan 29, 2023
1 parent 83ecf43 commit 592e0ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/wakapi.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,4 +51,4 @@ ProtectHostname=true
ProtectProc=invisible

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit 592e0ed

Please sign in to comment.