mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-27 15:45:55 -05:00
17 lines
264 B
SYSTEMD
17 lines
264 B
SYSTEMD
|
[Unit]
|
||
|
Description=Moonfire NVR
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/moonfire-nvr
|
||
|
Type=simple
|
||
|
User=moonfire-nvr
|
||
|
Nice=-20
|
||
|
Restart=on-abnormal
|
||
|
CPUAccounting=true
|
||
|
MemoryAccounting=true
|
||
|
BlockIOAccounting=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|