Commit Graph

13 Commits

Author SHA1 Message Date
Jason Pleau c7f19755bd fix webport using the wrong variable in init scripts 2015-05-01 20:57:58 -04:00
Jason Pleau 5abfdfda7b update init script and systemd service file
init script: depend on $remote_fs instead of $local_fs. Reason: /usr can
be mounted a remote filesystem. Also depend on mpd (instead of $mpd,
which doesn't seem to exist.. at least on my system)

Also provide a default config (which should be installed as
/etc/default/ympd)

This commit makes the systemd unit file as well as the init script load
values from this configuration file so the user can change ympd settings
easily when running it as a service.
2015-05-01 17:14:21 -04:00
Andy b9411a7134 Merge pull request #26 from KAMiKAZOW/patch-1
Create ympd.spec
2014-11-03 03:22:05 +01:00
KAMiKAZOW d4f45558e9 Rename ympd.spec to contrib/ympd.spec 2014-10-29 03:08:59 +01:00
Jason Pleau d8610584d4 init.debian: correct typo in shebang and adjust default webport
The default webport in the systemd unit is 8080, but the one in the init
script was 80.
2014-10-28 20:11:38 -04:00
Philippe Mongeau 5659a1a86d make service environment file optional 2014-04-23 10:47:25 -04:00
Marc Plano-Lesay bf96db2ba3 Allow the sytemd unit to read a configuration file 2014-04-12 19:45:40 +02:00
Andrew Karpow 75e4d6a22e updated initscript 2014-03-08 20:38:14 +01:00
Philippe Mongeau dcc4823bc3 add systemd service file 2014-03-08 12:30:48 +01:00
Alex Morega 3413be6ef6 fix SCRIPTNAME value 2014-01-21 00:38:42 +01:00
Andrew Karpow 9212e3af29 removed init-config, changed default webport to 80 2014-01-17 19:03:15 +01:00
Nico Suhl d735295cdc fix init script 2014-01-10 20:33:51 +01:00
Andrew Karpow 338b27676c add debian package information and initscripts 2013-11-12 02:54:00 +01:00