Commit Graph

22 Commits

Author SHA1 Message Date
Andy 612f8fc0b2
Merge pull request #158 from eb041592/master
Update FreeBSD RC script
2018-03-29 20:37:43 +02:00
Archphile d4865aca9d
fixed a typo
Replaced $DIRBLE_API_TOKE with $DIRBLE_API_TOKEN in order for the service to be functional.
2018-03-05 13:54:46 +02:00
eb041592 80834b989f Update FreeBSD RC script
- removed /usr/sbin/daemon's option "-t" (first appeared in FreeBSD 11, leading to an error in previous versions; since the [t]itle defaults to the daemonized invocation anyways, this shouldn't make a difference for FreeBSD 11+)
- removed /usr/sbin/daemon's option "-u" and the respective variable in the script (ympd has to be started as root to be able to bind to port 80)
- allow for additional arguments via ympd_flags="" in rc.conf (which would again allow to drop privileges after binding to the port)
2018-01-28 22:54:17 +01:00
Andrew Karpow ceee8bd90a Merge branch 'master' of https://github.com/lesderid/ympd into lesderid-master 2018-01-22 04:58:17 +01:00
Andy f7aade410d
Merge pull request #148 from unknownloner/master
Allow MPD Password to be configured in command line options
2018-01-22 04:23:51 +01:00
unknownln e5a88b1ffe quote password 2017-02-18 12:05:24 -05:00
unknownln ec74ef463b config for system services 2017-02-18 12:00:28 -05:00
Felix J. Ogris 40906e2bee added FreeBSD RC script 2017-02-06 20:19:09 +01:00
Les De Ridder d9ec70a9da
Make the Dirble API token configurable and use HTTPS
Fixes #140
2016-09-11 18:23:42 +02:00
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