need to add twistd location to environment
This commit is contained in:
parent
2f0709e4fc
commit
b99799c641
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ User=your-user
|
||||||
#
|
#
|
||||||
ExecStart=/your/path/to/pyenv/bin/python /your/path/to/evennia/bin/unix/evennia ipstart --gamedir /your/path/to/mygame
|
ExecStart=/your/path/to/pyenv/bin/python /your/path/to/evennia/bin/unix/evennia ipstart --gamedir /your/path/to/mygame
|
||||||
|
|
||||||
|
#
|
||||||
|
# Service needs to know the path to twistd binary
|
||||||
|
# Replace /your/path/to/venv/bin with whatever is appropriate
|
||||||
|
Environment="PATH=/your/path/to/pyenv/bin:$PATH"
|
||||||
|
|
||||||
# restart on all failures, wait 3 seconds before doing so.
|
# restart on all failures, wait 3 seconds before doing so.
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue