add mpd and mopidy services

This commit is contained in:
Izalia Mae 2021-10-30 20:44:53 -04:00
parent 613775c8ca
commit 59b825dca8
2 changed files with 36 additions and 0 deletions

19
services/mopidy.json Normal file
View file

@ -0,0 +1,19 @@
{
"name": "mopidy",
"fullname": "Mopidy Music Player Daemon",
"description": "MPD server",
"workdir": "/data/data/com.termux/files/home",
"executable": "/data/data/com.termux/files/usr/bin/python",
"arguments": [
"-m",
"mopidy",
"--config",
"/data/data/com.termux/files/home/.config/mopidy/mopidy.cfg"
],
"enabled": false,
"autorestart": true,
"autorestart_timeout": 5,
"autorestart_tries": 5,
"terminate_timeout": 5,
"log_keep": "5"
}

17
services/mpd.json Normal file
View file

@ -0,0 +1,17 @@
{
"name": "mpd",
"fullname": "Music Player Daemon",
"description": "MPD server",
"workdir": "/data/data/com.termux/files/home",
"executable": "/data/data/com.termux/files/usr/bin/mpd",
"arguments": [
"--no-daemon",
"/data/data/com.termux/files/home/.config/mpd/mpd.conf"
],
"enabled": false,
"autorestart": true,
"autorestart_timeout": 5,
"autorestart_tries": 5,
"terminate_timeout": 5,
"log_keep": "5"
}