diff options
author | Sébastien Leduc | 2015-08-18 16:43:30 +0200 |
---|---|---|
committer | Sébastien Leduc | 2015-08-18 16:43:30 +0200 |
commit | 0b4d0b210d81b53911fa3f0442302f7a04952f7b (patch) | |
tree | 892cba393ff29220700351f7f1c8369a372d4657 /mediatomb.service | |
download | aur-mediatomb-samsung-tv.tar.gz |
Initial commit (0.12.1-11 + fix of mediatomb-mariadb.service as suggested in the comments of the mediatomb pkg)
Diffstat (limited to 'mediatomb.service')
-rw-r--r-- | mediatomb.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mediatomb.service b/mediatomb.service new file mode 100644 index 000000000000..e9869cfb52f7 --- /dev/null +++ b/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 |