Skip to content

Commit

Permalink
created run/log directories, adapt permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tirolerstefan committed Aug 29, 2021
1 parent dd3bca9 commit 489d628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions systemd/kaifareader.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Description=kaifareader
After=syslog.target network.target ntp.service

[Service]
ExecStartPre=/bin/mkdir -p /var/run/kaifareader
ExecStartPre=/bin/mkdir -p /var/log/kaifareader
ExecStartPre=/bin/chmod 777 /var/run/kaifareader
ExecStartPre=/bin/chmod 777 /var/log/kaifareader
ExecStart=/usr/bin/python3 /usr/lib/kaifareader/kaifareader.py
StandardOutput=null

Expand Down

0 comments on commit 489d628

Please sign in to comment.