On 10/06/2012 05:57 AM, Mr Green wrote:
You guys may already be way ahead of me on this but been thinking
about possible upcoming changes to systemd. A new option in mkarchiso
might make life a little easier.
Currently we use the following to start systemd services:
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -r \
'systemctl -f enable multi-user.target syslog-ng.service
NetworkManager.service haveged.service pacman-init.service
[email protected] || true' run
This is my take on a new systemd option for mkarchiso:
# -systemctl will bascially do 'systemctl -f <services> || true [as in
/usr/lib/systemd/system & /etc/systemd/system <user created ones>]
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -systemctl
'syslog-ng NetworkManager haveged pacman-init autologin@'
service # or enable?
You can of call the new option what you want
MrG
I'll answer you this question if you promise me that you will answer me
and also your answer will be in the same thread :P
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1