Add `WorkingDirectory` to systemd example [skip ci]
parent
8b99a87020
commit
e9c4ed6399
|
@ -234,6 +234,7 @@ ExecStart=<python_install_dir>/python3 <whoogle_install_dir>/whoogle-search --ho
|
||||||
ExecStart=<whoogle_repo_dir>/run
|
ExecStart=<whoogle_repo_dir>/run
|
||||||
# For example:
|
# For example:
|
||||||
# ExecStart=/var/www/whoogle-search/run
|
# ExecStart=/var/www/whoogle-search/run
|
||||||
|
WorkingDirectory=<whoogle_repo_dir>
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
Loading…
Reference in New Issue