[Pianod] pianod.service for systemd

Peter Li chinasaurli at gmail.com
Wed Dec 5 00:57:41 PST 2012


Here's a minimal pianod.service file to get it working as a boot daemon 
on systemd compatible Linux distros (most of them):

----
[Unit]
Description=Pandora Client Daemon
After=syslog.target

[Service]
ExecStart=/usr/bin/pianod -i /etc/pianod.startscript
Restart=on-abort

[Install]
WantedBy=multi-user.target
----

Create /etc/pianod.startscript and then run "systemctl start pianod" to 
start the daemon and "systemctl enable pianod" to enable it to start on 
boot.

Best,
P



More information about the Pianod mailing list