mirror of
https://github.com/cjdenio/train-map.git
synced 2026-12-01 05:26:19 +00:00
systemd service
This commit is contained in:
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Train Map
|
||||
After=network.target arduino-router.service
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=root
|
||||
ExecStartPre=
|
||||
ExecStart=/home/arduino/zig_trax
|
||||
ExecStartPost
|
||||
ExecStop=
|
||||
ExecReload=
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in new issue
Block a user