Skip to content

Commit

Permalink
systemd unit workdir fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir-Photch committed Dec 19, 2023
1 parent 05ab9ae commit 4b51afa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "notesock"
version = "0.1.1"
version = "0.1.2"
edition = "2021"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion systemd/notesock.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ User=notesock
Group=notesock

EnvironmentFile=/etc/notesock/notesock.env
WorkingDirectory=notesock
WorkingDirectory=/var/lib/notesock
RuntimeDirectory=notesock
ExecStart=/usr/bin/notesock -s /run/notesock -d /var/lib/notesock -w $N_WORKERS --host $HOST -x $EXPIRY_SECONDS -l $MAX_PASTE_SIZE_KB -t $TIMEOUT_MS
Restart=on-failure
Expand Down

0 comments on commit 4b51afa

Please sign in to comment.