[Unit] Description=Commonwealth Online Server After=network-online.target Wants=network-online.target [Service] Type=simple User=commonwealth Group=commonwealth WorkingDirectory=/opt/commonwealth-online ExecStart=/opt/commonwealth-online/CommonwealthOnline.Server serve --config /opt/commonwealth-online/commonwealth-server.json Restart=on-failure RestartSec=5 StandardOutput=journal StandardError=journal NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/opt/commonwealth-online [Install] WantedBy=multi-user.target