[systemd-devel] How to modify files from within systemd *.service? (for example using /bin/echo and stdout redirection)
Peter Sztan
sztanpet at gmail.com
Sat May 26 01:09:48 PDT 2012
Peter Lemenkov <lemenkov <at> gmail.com> writes:
>
> Hello All!
>
> I've got Apple Mac keyboard which behaviour depends on a value stored
> in /sys/module/hid_apple/parameters/fnmode file (default is "1").
The other way to do it would be with a tmpfiles.d snippet,
the 'w' type was made for this purpose
see http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
More information about the systemd-devel
mailing list