[Unit] Description=Mediaflux Server After=remote-fs.target [Service] Type=forking ExecStart=/etc/init.d/mediaflux start ExecStop=/etc/init.d/mediaflux force-stop [Install] # IMPORTANT: The following line is to insert the service to the dependency tree. Otherwise, it will not be called on system reboot. WantedBy=multi-user.target
No comments:
Post a Comment