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.
20 lines
352 B
INI
20 lines
352 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 .
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=appgoservice
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|