Commit 1b84085a authored by CeRiAl's avatar CeRiAl

Added syslog as dependency for init scripts, added systemd service file

parent b9343035
#! /bin/sh
### BEGIN INIT INFO
# Provides: mbpfan
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: mbpfan initscript
......
......@@ -7,8 +7,8 @@
### BEGIN INIT INFO
# Provides: mbpfan
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: mbpfan initscript
......
[Unit]
Description=Start the mbpfan daemon
After=syslog.target
After=remote-fs.target
[Service]
ExecStart=/usr/sbin/mbpfan
Type=forking
Restart=always
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment