2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-12-26 11:35:42 -05:00
PrinterStatus/printerStatus.service

14 lines
254 B
SYSTEMD
Raw Normal View History

2020-09-10 18:01:57 -04:00
[Unit]
Description=A Read-only viewer for multiple OctoPrint instances
[Service]
Environment=PORT=8881
ExecStart=/usr/bin/npm start
WorkingDirectory=/var/www/PrinterStatus
Restart=always
RestartSec=10
User=www-data
[Install]
WantedBy=multi-user.target