On 23.10.2013 23:25, Tomasz Torcz wrote:
On Wed, Oct 23, 2013 at 07:22:16PM +0200, Sandro Mani wrote:
Hi,
In cases where a package ships a <service>.tmpfiles file which
manages i.e. the /var/run/<service> directory, what is the best way
|to ||||make sure that the directory exists after installing the
package, without rebooting the system?
- The directory should be installed by the package
- %postinst||| should include systemd-tmpfiles --create
|%{_tmpfilesdir}/%{name}.conf
- ... ?
The latte using handy %tmpfiles_create macro.
See http://cgit.freedesktop.org/systemd/systemd/tree/src/core/macros.systemd.in
Aha, handy indeed. Thanks.
Sandro
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct