On Sun, 9 Jul 2017 11:48:17 +0200, Ralf Mardorf wrote:
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,
^^^^^ neither
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
^^^ Ralf
If I should have made typos when typing the commands, Google as well as
previous posts should help ;)
--
Vote for apulse!
echo $(w3m
https://aur.archlinux.org/packages/apulse |grep 'Votes: ')
Votes: 84 Updated: Sun Jul 9 11:53:57 CEST 2017