Skip to content
This repository was archived by the owner on Jun 9, 2024. It is now read-only.

Commit cd2d0c3

Browse files
committed
systemd unit: Adjust cache path and permissions
1 parent 8090993 commit cd2d0c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package/octorpki.service

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ After=network.target
66
Type=simple
77
EnvironmentFile=/etc/default/octorpki
88
WorkingDirectory=/usr/share/octorpki
9-
ExecStart=/usr/bin/octorpki $OCTORPKI_ARGS
9+
ExecStartPre=/usr/bin/mkdir /var/cache/octorpki && chown octorpki:octorpki /var/cache/octorpki
10+
ExecStart=/usr/bin/octorpki -cache=/var/cache/octorpki
11+
1012
User=octorpki
1113
Group=octorpki
1214

0 commit comments

Comments
 (0)