Commit 7de1a3f5 by Bach Dániel

add systemd unit files

parent d4bbe15b
[Unit]
Description=CIRCLE storage
After=network.target
BindsTo=storagecelery@storage.fast.service
BindsTo=storagecelery@storage.slow.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/echo
[Install]
WantedBy=multi-user.target
[Unit]
Description=storagecelery %I
BindsTo=storage.service
[Service]
User=cloud
Group=cloud
KillSignal=SIGTERM
TimeoutStopSec=600
Restart=always
WorkingDirectory=/home/cloud/storagedriver
ExecStart=/bin/bash -c "source /etc/profile; workon storagedriver; exec celery -A storagecelery worker --loglevel=info -n %H.%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