PKGBUILDs/aur/mediatomb/mediatomb-mariadb.service

14 lines
342 B
SYSTEMD
Raw Normal View History

[Unit]
Description=MediaTomb Daemon using MariaDB
2015-08-31 00:38:44 +00:00
After=mysqld.target 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