28 Jul
2012
28 Jul
'12
11:26 p.m.
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 <mail@jsteel.org>
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
-- Leonardo Dagnino