Commit 7d1f7c70 by Czémán Arnold

Modify hostname query in systemd service files and clean them

parent 41f5615a
[Unit] [Unit]
Description=CIRCLE firewall init Description=CIRCLE firewall init
[Service] [Service]
User=root User=root
...@@ -7,10 +7,10 @@ After=firewall-init.service ...@@ -7,10 +7,10 @@ After=firewall-init.service
[Service] [Service]
User=fw User=fw
Group=fw Group=fw
WorkingDirectory=/home/fw/fwdriver WorkingDirectory=/home/fw/fwdriver
ExecStart=/bin/bash -c ". /home/fw/.virtualenvs/fw/bin/postactivate; . /home/fw/.virtualenvs/fw/bin/activate; exec celeryd -A fw -Q %H.firewall --loglevel=info -c 1" ExecStart=/bin/bash -c ". /home/fw/.virtualenvs/fw/bin/postactivate; . /home/fw/.virtualenvs/fw/bin/activate; exec celeryd -A fw -Q $(/bin/hostname -s).firewall --loglevel=info -c 1"
#ExecStartPost=/bin/sudo /bin/systemctl restart dhcpd
Restart=always Restart=always
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