[Unit] Description=KingHistorian server service After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=/usr/bin/khserver ExecStartPre=/usr/local/kinghistorian/bin/startPre.sh TimeoutStopSec=1000000s LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity TimeoutStartSec=0 StandardOutput=null Restart=always StartLimitBurst=3 StartLimitInterval=60s [Install] WantedBy=multi-user.target