You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
346 B
INI

[Unit]
Description=RPGPT/PlayGPT server
ConditionPathExists=/root/rpgpt/server
After=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/root/rpgpt/server
ExecStart=/usr/bin/go run .
EnvironmentFile=/root/.high_security
Restart=on-failure
RestartSec=10
SyslogIdentifier=appgoservice
[Install]
WantedBy=multi-user.target