Skip to content

Commit 34a0ba5

Browse files
committed
run as pi:pi
1 parent eeeae7e commit 34a0ba5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.setup/gateway.service

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ExecStop=/bin/kill -s SIGTERM $MAINPID
88
ExecReload=/bin/kill -s HUP $MAINPID
99
KillMode=control-group
1010
Restart=always
11+
RestartSec=3
12+
User=pi
13+
Group=pi
1114
#StandardOutput=syslog
1215
#StandardError=syslog
1316
SyslogIdentifier=moteino-gateway

0 commit comments

Comments
 (0)