v3.0.0/chibisafe-sample.service

15 lines
280 B
SYSTEMD

[Unit]
Description=chibisafe, easy to use file uploader
After=network.target
[Service]
Type=simple
User=yourusername
WorkingDirectory=/path/to/chibisafe
EnvironmentFile=/path/to/chibisafe/.env
ExecStart=/usr/bin/npm run start
Restart=always
[Install]
WantedBy=multi-user.target