Skip to content

Commit

Permalink
Merge pull request #2658 from phillxnet/2657-Improve-rockstor.service…
Browse files Browse the repository at this point in the history
…-re-robustness

Improve rockstor.service re robustness #2657
  • Loading branch information
phillxnet authored Aug 17, 2023
2 parents e290875 + 450585c commit 8d6f813
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/rockstor.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Requires=rockstor-pre.service
Environment="DJANGO_SETTINGS_MODULE=settings"
WorkingDirectory=/opt/rockstor
ExecStart=/root/.local/bin/poetry run supervisord -c /opt/rockstor/etc/supervisord.conf
ExecStop=/root/.local/bin/poetry run supervisorctl shutdown
ExecReload=/root/.local/bin/poetry run supervisorctl reload
# Generally not recommended but used here to honour supervisord's remit re process management.
KillMode=process

[Install]
WantedBy=multi-user.target

0 comments on commit 8d6f813

Please sign in to comment.