Commit Graph

13 Commits

Author SHA1 Message Date
SuperBFG7 fff184dca2 moved default user definition to service file 2019-04-22 11:51:09 +02:00
SuperBFG7 aeceb91551 moved definition of default user to service file 2019-04-22 11:47:22 +02:00
Clément Pit-Claudel 0917b467e8
Harden ympd.service
This offers a measure of protection against potential ympd vulnerabilities.  See
https://www.freedesktop.org/software/systemd/man/systemd.exec.html for
documentation.
2019-03-10 16:43:39 +00: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
Andrew Karpow ceee8bd90a Merge branch 'master' of https://github.com/lesderid/ympd into lesderid-master 2018-01-22 04:58:17 +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
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
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
Philippe Mongeau 2d07c35f1b add systemd service file 2014-01-21 16:01:24 -05:00