On Sun, 9 Jul 2017 05:03:22 +0200, Hermann Meyer wrote:
I would go for a systemd service to do that, given that
you distro is
systemd based.
Hi,
since we nicer know what distro the OP does use, nor what init process,
the OP should consider to run the commands I already mentioned.
ls -l /?bin/init
shows what is used.
ls -l /lib/systemd/system-generators/systemd-sysv-generator
might show if it's a hybrid, systemd + init scripts.
cat /etc/*{release,version,issue}
should show what distro is used and maybe what release. There are more
advanced commands, depending on the distro. On Ubuntu e.g. running
lsb_release -irc
could be useful.
Regards,
Ral
--
Vote for apulse!
echo $(w3m
https://aur.archlinux.org/packages/apulse |grep 'Votes: ')
Votes: 84 Updated: Sun Jul 9 11:48:16 CEST 2017