Hi! Does anyone have an idea how can i (in a nice way [1]) to ensure ownership/permissions of log directory in /var/log for a unit
that drops privileges to a user (with User=/Group=)

[1] The ugly way being with script in StartPre and sudo in Start
so i want to use User=
I'm aware of LogsDirectory= but is not available on EL7

Thanks a lot!
Adrian

_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to