INODE64 135a358a84 Update nodejs.eclass
Fix initial installation of zigbee2mqtt
New version node-red 3.1.3
Refactoring zigbee2mqtt

Signed-off-by: INODE64 <web@inode64.com>
2023-12-14 18:17:58 +01:00

44 lines
881 B
Desktop File

[Unit]
Description=zigbee2mqtt
After=network.target
Wants=mosquitto.service
[Service]
ExecStart=/usr/bin/zigbee2mqtt
WorkingDirectory=/usr/lib64/node_modules/zigbee2mqtt
Environment=ZIGBEE2MQTT_DATA=/var/lib/zigbee2mqtt
StandardOutput=inherit
StandardError=inherit
Restart=always
User=zigbee2mqtt
CapabilityBoundingSet=
NoNewPrivileges=true
RemoveIPC=true
LockPersonality=true
ProtectControlGroups=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectHostname=true
ProtectProc=noaccess
ProtectClock=yes
DeviceAllow=char-* rw
RestrictRealtime=true
RestrictSUIDSGID=true
RestrictNamespaces=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/zigbee2mqtt
SystemCallArchitectures=native
SystemCallFilter=@system-service @pkey
[Install]
WantedBy=multi-user.target