blob: a2fb8da129db9d60990fa7528f2e794e597bca78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
[Unit]
Description="Sheepdog QEMU/KVM Block Storage"
Documentation="https://github.com/sheepdog/sheepdog/wiki"
After=network.target
Wants=syslog.target
[Service]
Type=simple
LimitNOFILE=6144000
Restart=on-abort
StartLimitInterval=10s
StartLimitBurst=3
Environment="LOG_LEVEL=level=info,format=server,dst=stdout"
Environment="BIND_ADDRESS=0.0.0.0"
Environment="BIND_PORT=7000"
Environment="CLUSTER_MANAGER=local"
Environment="SHEEP_OPTS=--upgrade"
Environment="SHEEP_STORE=/var/lib/sheepdog"
EnvironmentFile=-/etc/sheepdog/sheepdog.env
ExecStart=/usr/bin/sheep \
--foreground \
--log ${LOG_LEVEL} \
--bindaddr ${BIND_ADDRESS} \
--port ${BIND_PORT} \
--cluster ${CLUSTER_MANAGER} \
$SHEEP_OPTS ${SHEEP_STORE}
[Install]
WantedBy=multi-user.target
|