keep run directory between sessions; auto-create dir if needed
parent
b18cb61f24
commit
1328905291
|
@ -7,10 +7,11 @@ StartLimitIntervalSec=0
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
|
# uncomment User and Group to not run as root
|
||||||
#User=ubxtool
|
#User=ubxtool
|
||||||
#Group=ubxtool
|
#Group=ubxtool
|
||||||
#DynamicUser=yes
|
RuntimeDirectory=ubxtool
|
||||||
#RuntimeDirectory=ubxtool
|
RuntimeDirectoryPreserve=yes
|
||||||
WorkingDirectory=/run/ubxtool
|
WorkingDirectory=/run/ubxtool
|
||||||
ExecStart=/usr/local/ubxtool/ubxtool.sh
|
ExecStart=/usr/local/ubxtool/ubxtool.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue