forked from evolix/ansible-roles
Add systemd template
This commit is contained in:
parent
879b67d32e
commit
001c8581c4
10
memcached/files/memcached@.service
Normal file
10
memcached/files/memcached@.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=memcached daemon
|
||||||
|
After=network.target
|
||||||
|
ConditionPathExists=/etc/memcached_%i.conf
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/share/memcached/scripts/systemd-memcached-wrapper /etc/memcached_%i.conf
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue