initial commit
This commit is contained in:
24
rpicontrol.service
Normal file
24
rpicontrol.service
Normal file
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=RPI MQTT Control Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
startLimitIntervalSec=60
|
||||
|
||||
WorkingDirectory=/usr/bin
|
||||
ExecStart=/usr/bin/rpicontrol
|
||||
|
||||
# make sure log directory exists and owned by syslog
|
||||
PermissionsStartOnly=true
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=rpicontrol
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user