Commit 1da46e28 by Czémán Arnold

Modify hostname query in systemd service files

parent 709915f0
...@@ -11,4 +11,5 @@ TimeoutStopSec=600 ...@@ -11,4 +11,5 @@ TimeoutStopSec=600
Restart=always Restart=always
WorkingDirectory=/home/cloud/vmdriver WorkingDirectory=/home/cloud/vmdriver
ExecStart=/bin/bash -c "source /etc/profile; workon vmdriver; exec celery -A netcelery worker --loglevel=info -n %H.%I"
ExecStart=/bin/bash -c "source /etc/profile; workon vmdriver; exec celery -A netcelery worker --loglevel=info -n $(/bin/hostname -s).%I"
...@@ -11,4 +11,5 @@ TimeoutStopSec=600 ...@@ -11,4 +11,5 @@ TimeoutStopSec=600
Restart=always Restart=always
WorkingDirectory=/home/cloud/vmdriver WorkingDirectory=/home/cloud/vmdriver
ExecStart=/bin/bash -c "source /etc/profile; workon vmdriver; exec celery -A vmcelery worker --loglevel=info -n %H.%I"
ExecStart=/bin/bash -c "source /etc/profile; workon vmdriver; exec celery -A vmcelery worker --loglevel=info -n $(/bin/hostname -s).%I"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment