1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-02-18 12:00:13 +00:00
ympd/contrib/ympd.service

17 lines
433 B
SYSTEMD
Raw Normal View History

2014-01-21 16:01:24 -05:00
[Unit]
Description=ympd server daemon
Requires=network.target local-fs.target
[Service]
Environment=MPD_HOST=localhost
Environment=MPD_PORT=6600
2017-02-18 12:00:28 -05:00
Environment=MPD_PASSWORD=
Environment=WEB_PORT=8080
Environment=YMPD_USER=nobody
EnvironmentFile=/etc/default/ympd
2017-02-18 12:05:24 -05:00
ExecStart=/usr/bin/ympd --user $YMPD_USER --mpdpass "$MPD_PASSWORD" --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT
2014-01-21 16:01:24 -05:00
Type=simple
[Install]
WantedBy=multi-user.target