summaryrefslogtreecommitdiff
path: root/pcr/mediatomb/mediatomb.service
blob: e9869cfb52f714d2def15cb8f1f55476a577f3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=MediaTomb Daemon
After=network.target

[Service]
EnvironmentFile=/etc/conf.d/mediatomb
ExecStart=/usr/bin/mediatomb -p $MT_PORT -u $MT_USER -g $MT_GROUP \
  -P $MT_PIDFILE -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR $MT_OPTIONS
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target