1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Distributed file system (chunk server) After=network.target [Service] Type=forking ExecStart=/usr/bin/mfschunkserver start ExecStop=/usr/bin/mfschunkserver stop ExecReload=/usr/bin/mfschunkserver reload PIDFile=/run/mfs/mfschunkserver.pid Restart=always [Install] WantedBy=multi-user.target