etcd/etcd.service
Alexandre Vicenzi 54f56659b2 Accepting request 886120 from home:dirkmueller:Factory
- update etcd.service: avoid args from commandline and environment
  as it leads to start failure (bsc#1183703)

OBS-URL: https://build.opensuse.org/request/show/886120
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/etcd?expand=0&rev=13
2021-04-19 08:24:42 +00:00

22 lines
448 B
Desktop File

[Unit]
Description=Etcd Server
After=network.target
After=network-online.target
Wants=network-online.target
[Service]
Type=notify
WorkingDirectory=/var/lib/etcd/
EnvironmentFile=-/etc/sysconfig/etcd
User=etcd
# set GOMAXPROCS to number of processors
ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/sbin/etcd"
Restart=on-failure
LimitNOFILE=65536
Nice=-10
IOSchedulingClass=best-effort
IOSchedulingPriority=2
[Install]
WantedBy=multi-user.target