[arch-general] systemd script at boot?

David Benfell benfell at parts-unknown.org
Sun Jul 29 01:06:05 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/28/2012 04:10 PM, jsteel wrote:
> 
> Can systemd run a bash script at/after boot without having to
> install initscripts-systemd for compatibility with rc.local? I
> assume initscripts-systemd will be depreciated eventually so wonder
> if there is a native way to do this, or if this is the workaround
> for now.
> 
There *is* a service available that looks like it would execute rc.local.

According to the Arch wiki, there is an initscripts-systemd package
and and "/etc/rc.local and /etc/rc.local.shutdown can be run at
startup and shutdown by enabling rc-local.service and
rc-local-shutdown.service." The package is not recommended but it exists.

- -- 
David Benfell
benfell at parts-unknown.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQFMS9AAoJELT202JKF+xpaxMP/iCqs6eH4GwXBbIPaGEda4yr
uKCUDs5MI4HIqIOm0wi1uiKqpPuIunsxRTWXJrPpNjQiqZ//tBjntd5RnvakhMwm
QSs6ugmf9CXgEmg5HuSI+HExioUUcMH2jwXLQSLlqbKL4NscWkZkrNkPP9WpYWgU
yg+kTVmYUyApUT2agBWR9sgkCwY+fqGZntfSVsZM3pPJcqcFQpoMWo02hJ0V6wLb
qfZe83b3OeN2R/sM8uB0FsORM9vpQHgyMuJHLT+MSodlBAb/IaLahFhPnxmjEGEG
Dhnt+Vw5wsSZ16EFLl5CMb+AFXsmCfIL2iPZe6oqQrW9cJJUiP283TH1yzgVQuQJ
ULskw+jrDzJYSyQsees7fwZWBPrgdQgezZFwGjpAHICKvBnbAP1GppxwQAnoF9w2
WgjNSfjCApZQmFXXm1bJ+lrvK7SBdPM14IfcySzIpSU1qexg/hHdj+rmKPsYB1sg
4PwJshP6tmAkPUc94DHXHxyPG1sZAjZYoYyOFEbHdn2uncHIHJHkUnq10pSlZwkB
o1rxqYJa/hohjn+H4QPkxtp+UfIJFe4yUIKQjs3ol309pwi6qeIc9ySz0fm7/jxM
DWVPzvoyR9hD4tTGbEJAHfaxCcPdCNdG5b+91z6dkY4gxAdfvF94EXCzSZwp+Uti
ygEsQQr4aX2KeU4vt0v7
=XPdq
-----END PGP SIGNATURE-----


More information about the arch-general mailing list