mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-06 13:05:24 +08:00
Update upgrade server systemd unit
This commit is contained in:
parent
9df1c9a287
commit
3b350d60e0
1 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,9 @@ User=npbackup
|
|||
Group=npbackup
|
||||
|
||||
# Set this to whatever directory you installed the upgrade_server to
|
||||
ExecStart=/opt/upgrade_server/venv/bin/python /var/www/upgrade_server/upgrade_server.py --config-file=/etc/npbackup_upgrade_server.conf
|
||||
WorkingDirectory=/var/www/upgrade_server
|
||||
Environment="PYTHONPATH=/var/www/upgrade_server"
|
||||
ExecStart=/opt/upgrade_server/venv/bin/python /var/npbackup_upgrade_server/upgrade_server/upgrade_server.py --config-file=/etc/npbackup_upgrade_server.conf
|
||||
WorkingDirectory=/var/npbackup_upgrade_server
|
||||
Environment="PYTHONPATH=/var/npbackup_upgrade_server"
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue