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