updated service and improved menu

This commit is contained in:
paukstelis
2021-02-28 11:40:08 -05:00
parent b079674fe6
commit 4f4a6e2b22
2 changed files with 51 additions and 33 deletions

View File

@@ -8,10 +8,8 @@ Environment="HOST=127.0.0.1"
Environment="PORT=NEWPORT"
Environment="BASEDIR=OCTOCONFIG/.NEWINSTANCE"
Environment="CONFIGFILE=OCTOCONFIG/.NEWINSTANCE/config.yaml"
Environment="EXEC=OCTOPATH"
Type=simple
User=OCTOUSER
ExecStart=${EXEC} serve --config=${CONFIGFILE} --basedir=${BASEDIR} --host=${HOST} --port=${PORT}
ExecStart=OCTOPATH serve --config=${CONFIGFILE} --basedir=${BASEDIR} --host=${HOST} --port=${PORT}
[Install]
WantedBy=multi-user.target