[Unit] Description=The Mocha OMS Server After=network.target remote-fs.target nss-lookup.target Documentation=https://support.mochapowered.com/oms-dotnet/1.3/ [Service] Type=forking Environment=MOCHAOMS_STARTED_BY_SYSTEMD=true ExecStart=/usr/sbin/mochactl start-oms ExecStop=/usr/sbin/mochactl stop-oms ExecReload=/usr/sbin/mochactl reload-oms KillMode=mixed PrivateTmp=true Restart=on-abort OOMPolicy=continue [Install] WantedBy=multi-user.target