Init first version
This commit is contained in:
parent
647c2c05e9
commit
507f8a7736
4 changed files with 133 additions and 0 deletions
17
files/uptime-kuma.service
Normal file
17
files/uptime-kuma.service
Normal file
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=uptime-kuma
|
||||
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
|
||||
ExecStart=/usr/local/bin/node server/server.js
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in a new issue