Commit 6880cdfb authored by ale's avatar ale

Merge branch 'tabacco-unit' into 'master'

base: ship tabacco-agent service with Debian package

See merge request !71
parents 2c461e1c ee01f829
Pipeline #5111 passed with stages
in 13 minutes and 50 seconds
......@@ -29,13 +29,6 @@
notify:
- reload backup agent
- name: Install backup agent systemd unit
template:
src: tabacco/agent.service.j2
dest: /etc/systemd/system/tabacco-agent.service
notify:
- restart backup agent
- name: Enable backup agent systemd unit
systemd:
name: tabacco-agent.service
......
[Unit]
Description=Backup Agent
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/tabacco agent
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
User=root
Group=tabacco
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
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 to comment