mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-15 13:30:55 +00:00
Merge pull request #2440 from jpk68/openrc-dirs
openrc: create needed directories before checkpath
This commit is contained in:
@@ -30,6 +30,8 @@ start_pre() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
checkpath -d -m 0755 -o i2pd:adm /var/log/i2pd
|
||||
checkpath -d -m 0755 -o i2pd:adm /run/i2pd
|
||||
checkpath -f -o i2pd:adm $logfile
|
||||
checkpath -f -o i2pd:adm $pidfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user