mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 19:35:56 +00:00
need to add twistd location to environment
This commit is contained in:
parent
2f0709e4fc
commit
b99799c641
@ -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
|
||||
|
||||
#
|
||||
# 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-failure
|
||||
RestartSec=3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user