Re: [arch-general] systemd script at boot?

2012-07-29 Thread Myra Nelson
On Sun, Jul 29, 2012 at 6:10 AM, Tom Gundersen wrote: > On Sun, Jul 29, 2012 at 7:06 AM, David Benfell > wrote: >> 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

Re: [arch-general] systemd script at boot?

2012-07-29 Thread Tom Gundersen
On Sun, Jul 29, 2012 at 7:06 AM, David Benfell wrote: > 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 enab

Re: [arch-general] systemd script at boot?

2012-07-29 Thread jsteel
On 29 July 2012 00:26, Leonardo Dagnino wrote: > You can create a service that runs your shell script at boot. > I think it would be something like this: > > /etc/systemd/system/a-name-you-want.service > > [Unit] > Description=a-name-you-want > > [Service] > ExecStart=/path-to-your-script > > [Ins

Re: [arch-general] systemd script at boot?

2012-07-28 Thread David Benfell
-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 i

Re: [arch-general] systemd script at boot?

2012-07-28 Thread Leonardo Dagnino
You can create a service that runs your shell script at boot. I think it would be something like this: /etc/systemd/system/a-name-you-want.service [Unit] Description=a-name-you-want [Service] ExecStart=/path-to-your-script [Install] WantedBy=multi-user.target 2012/7/28 jsteel > Hi, > > Can

[arch-general] systemd script at boot?

2012-07-28 Thread jsteel
Hi, 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. Thanks, jsteel