1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Distributed file system (web interface) After=network.target [Service] Type=forking ExecStart=/usr/bin/mfscgiserv ExecStop=/bin/kill -15 $MAINPID PIDFile=/run/mfs/mfscgiserv.pid Restart=always [Install] WantedBy=multi-user.target