mirror of
https://github.com/koush/scrypted.git
synced 2026-03-05 10:52:01 +00:00
18 lines
366 B
Desktop File
18 lines
366 B
Desktop File
[Unit]
|
|
Description=Scrypted service
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=root
|
|
Group=root
|
|
Type=simple
|
|
ExecStart=/usr/bin/npx -y scrypted serve
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
Environment="NODE_OPTIONS=--dns-result-order=ipv4first"
|
|
Environment="SCRYPTED_FFMPEG_PATH=/usr/bin/ffmpeg"
|
|
Environment="SCRYPTED_INSTALL_ENVIRONMENT=lxc"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|