You are not logged in.

#1 2012-12-16 11:37:36

theking2
Member
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 329

randomsound.service

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

#2 2012-12-16 17:25:06

briest
Member
From: Katowice, PL
Registered: 2006-05-04
Posts: 468

Re: randomsound.service

Have you considered dropping the -D (daemonize, for other readers) flag and switching Type to single? Seems more systemd-ish to me wink

Offline

Board footer

Powered by FluxBB