Hi,

Is there some kind of option substitution in unit configuration files?

In a service configuration file, I specify the PID file and would like
to re-use its name, e.g.
    PIDFile=/var/run/myservice.pid
    ExecStartPre=/usr/bin/touch %PIDFile ; /bin/chown myuser %PIDFile

Thanks,
Malte

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to