Accepting request 520609 from Virtualization:containers
1 OBS-URL: https://build.opensuse.org/request/show/520609 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/etcd?expand=0&rev=5
This commit is contained in:
parent
e607ed683e
commit
a02d8f95df
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 30 10:49:23 UTC 2017 - vrothberg@suse.com
|
||||||
|
|
||||||
|
- transform etcd.service file from dos to unix
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 11 11:25:29 UTC 2017 - kiall@macinnes.ie
|
Fri Aug 11 11:25:29 UTC 2017 - kiall@macinnes.ie
|
||||||
|
|
||||||
|
42
etcd.service
42
etcd.service
@ -1,21 +1,21 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Etcd Server
|
Description=Etcd Server
|
||||||
After=network.target
|
After=network.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
WorkingDirectory=/var/lib/etcd/
|
WorkingDirectory=/var/lib/etcd/
|
||||||
EnvironmentFile=-/etc/sysconfig/etcd
|
EnvironmentFile=-/etc/sysconfig/etcd
|
||||||
User=etcd
|
User=etcd
|
||||||
# set GOMAXPROCS to number of processors
|
# set GOMAXPROCS to number of processors
|
||||||
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/sbin/etcd --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\""
|
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/sbin/etcd --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\""
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
LimitNOFILE=65536
|
LimitNOFILE=65536
|
||||||
Nice=-10
|
Nice=-10
|
||||||
IOSchedulingClass=best-effort
|
IOSchedulingClass=best-effort
|
||||||
IOSchedulingPriority=2
|
IOSchedulingPriority=2
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user