systemd migration
This commit is contained in:
parent
a20c6440ee
commit
188ffb6c70
17 changed files with 35 additions and 19 deletions
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=zigbee2mqtt
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/zigbee2mqtt
|
||||
ExecStart=/usr/bin/npm start
|
||||
WorkingDirectory=/usr/lib/zigbee2mqtt
|
||||
StandardOutput=inherit
|
||||
StandardError=inherit
|
||||
Restart=always
|
||||
User=zigbee2mqtt
|
||||
Group=zigbee2mqtt
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue