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
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
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
-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
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
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
6 matches
Mail list logo