glusterfs service: Ensure log directory exists for glustereventsd.
Prevents glustereventsd failing at startup in case it starts before glusterd has started (whose `preStart` would also create the needed directory).
This commit is contained in:
parent
e233a518bd
commit
08f7e4516c
|
@ -194,6 +194,10 @@ in
|
|||
|
||||
after = [ "syslog.target" "network.target" ];
|
||||
|
||||
preStart = ''
|
||||
install -m 0755 -d /var/log/glusterfs
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
Type="simple";
|
||||
Environment="PYTHONPATH=${glusterfs}/usr/lib/python2.7/site-packages";
|
||||
|
|
Loading…
Reference in New Issue