diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-04 07:40:19 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-04 07:40:19 +0200 |
commit | 9947a5c08c19ac6c6096aa9942805b686566b411 (patch) | |
tree | b64123613081db2cc816496e2ba1700b7323d6d8 /pcr/mediatomb/mediatomb.service | |
parent | b3c5fd72f793725b6e90ab8a3b78d73bb81599ee (diff) |
mediatomb
Diffstat (limited to 'pcr/mediatomb/mediatomb.service')
-rw-r--r-- | pcr/mediatomb/mediatomb.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/mediatomb/mediatomb.service b/pcr/mediatomb/mediatomb.service new file mode 100644 index 000000000..e9869cfb5 --- /dev/null +++ b/pcr/mediatomb/mediatomb.service @@ -0,0 +1,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 |