You are not logged in.
Pages: 1
Hi! I'm looking for a randomsound systemd/service file. http://www.digital-scurf.org/software/randomsound. I've come as far as
Description=Collect entropy
[Service]
ExecStart=/usr/sbin/randomsound -D -m 1000 -M 2500
Type=forking
PIDFile=/var/run/randomsound.pid
[Install]
WantedBy=multi-user.target
but the service does not start properly. Issueing /usr/sbin/randomsound -D successfully daemonizes the service. I'm puzzled why the when starting this as a service the systemctl does return. "systemctl status randomsound" reports "Unit randomsound.service entered failed state"
I guess randomsound daemonizing is something else as systemd forking. Starting the command line in a terminal works like a breeze.
please enlighten me
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Have you considered dropping the -D (daemonize, for other readers) flag and switching Type to single? Seems more systemd-ish to me
Offline
Pages: 1