Running as a service
Using systemd, run WildBeast as a service for automatic (re)starting
Making a new service
sudo nano /etc/systemd/system/wildbeast.service[Unit]
After=network.target network-online.target
Requires=network.target network-online.target
StartLimitBurst=3
StartLimitIntervalSec=0
[Service]
WorkingDirectory=/REPLACE THIS
Type=simple
Restart=on-failure
RestartSec=1
User=REPLACE THIS
ExecStart=/usr/bin/env npm start
[Install]
WantedBy=multi-user.targetControlling the service
Starting
Stopping
Start on boot
Restarting
Last updated
Was this helpful?
