mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-12-26 03:25:42 -05:00
14 lines
254 B
SYSTEMD
14 lines
254 B
SYSTEMD
|
[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
|