1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-06-15 17:49:55 +00:00
ympd/contrib/ympd.service
Andrew Carr 3fe238b169 Dirble option and functionality removed
Dirble is no longer available and per the author/old-owner, will probably not
be coming back.

This commit removes the configuration option and the code used to access
dirble. Everything else still appears to be functional.

re: https://dev.to/confact/what-happened-with-dirble-k3g
2021-05-21 01:38:19 +00:00

39 lines
870 B
Desktop File

[Unit]
Description=ympd server daemon
Requires=network.target local-fs.target
[Service]
User=nobody
DynamicUser=yes
MountAPIVFS=yes
RemoveIPC=yes
CapabilityBoundingSet=
LockPersonality=yes
PrivateUsers=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
NoNewPrivileges=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
ProtectHome=yes
Environment=MPD_HOST=localhost
Environment=MPD_PORT=6600
Environment=MPD_PASSWORD=
Environment=WEB_PORT=8080
Environment=YMPD_USER=nobody
Environment=DIGEST=
Environment=LOCALPORT=
EnvironmentFile=/etc/default/ympd
ExecStart=/usr/bin/ympd --user $USER --webport $WEB_PORT --host $MPD_HOST --port $MPD_PORT $DIGEST $LOCALPORT
Type=simple
[Install]
WantedBy=multi-user.target