Skip to content

Commit

Permalink
Create [/var]/run/openarc directory before dropping privileges
Browse files Browse the repository at this point in the history
Description: create directory upon startup
URL: #102
Author: A.Schulze, suggested by Sergey Ivanov
  • Loading branch information
seriv authored and mskucherawy committed Nov 15, 2018
1 parent 5f62a55 commit 8d7dde5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/systemd/openarc.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ExecStart=@sbindir@/openarc $OPTIONS
ExecReload=/bin/kill -USR1 $MAINPID
User=openarc
Group=openarc
PermissionsStartOnly=true
ExecStartPre=-/usr/bin/install -d -m 0755 -o openarc -g openarc @localstatedir@/run/openarc

[Install]
WantedBy=multi-user.target

0 comments on commit 8d7dde5

Please sign in to comment.