status-server.service 309 B

123456789
  1. [Unit]
  2. Description=ServerStatus-Server
  3. After=network.target
  4. [Service]
  5. ExecStart=/usr/local/ServerStatus/server/sergate --config=/usr/local/ServerStatus/server/config.json --web-dir=/usr/local/ServerStatus/web
  6. ExecReload=/bin/kill -HUP $MAINPID
  7. Restart=on-failure
  8. [Install]
  9. WantedBy=multi-user.target