Fix systemd unit file
This commit is contained in:
parent
c88833ecbe
commit
92371fd869
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@ After=network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
DynamicUser=yes
|
||||
PrivateUsers=true
|
||||
StateDirectory=uptime-kuma
|
||||
WorkingDirectory=/app
|
||||
RootDirectory=/opt/uptime-kuma
|
||||
ExecStartPre=+/bin/ln -sf /var/lib/uptime-kuma /app/data
|
||||
ReadWritePaths=+/app
|
||||
ExecStartPre=!/bin/ln -sf /var/lib/uptime-kuma /app/data
|
||||
ExecStart=/usr/local/bin/node server/server.js
|
||||
Restart=on-failure
|
||||
|
||||
|
|
Reference in a new issue