|
a/systemd/upmpdcli.service |
|
b/systemd/upmpdcli.service |
1 |
[Unit]
|
1 |
[Unit]
|
2 |
Description=fast remote file copy program daemon
|
2 |
Description=UPnP Renderer front-end to MPD
|
3 |
ConditionPathExists=/etc/rsyncd.conf
|
3 |
After=syslog.target
|
4 |
|
4 |
|
5 |
[Service]
|
5 |
[Service]
|
6 |
EnvironmentFile=/etc/sysconfig/rsyncd
|
6 |
Type=simple
|
7 |
ExecStart=/usr/bin/rsync --daemon --no-detach "$OPTIONS"
|
7 |
# Note: if start fails check with "systemctl status upmpdcli"
|
|
|
8 |
ExecStart=/usr/bin/upmpdcli -c /etc/upmpdcli.conf
|
|
|
9 |
# For some reason, the first start of libupnp fails. Probably this should
|
|
|
10 |
# be started later in the start sequence, but I don't know how. Retry a bit
|
|
|
11 |
# later.
|
|
|
12 |
Restart=always
|
|
|
13 |
RestartSec=1min
|
8 |
|
14 |
|
9 |
[Install]
|
15 |
[Install]
|
10 |
WantedBy=multi-user.target
|
16 |
WantedBy=multi-user.target
|