keep run directory between sessions; auto-create dir if needed

pull/48/head
Leif Sawyer 2019-11-21 11:50:56 -09:00
parent b18cb61f24
commit 1328905291
1 changed files with 3 additions and 2 deletions

View File

@ -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