From a02d8f95dffbb3f6e18a816cb83f0d79cb258e01f7d92514ae3bd73c613ae61f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 5 Sep 2017 13:16:31 +0000 Subject: [PATCH] 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 --- etcd.changes | 5 +++++ etcd.service | 42 +++++++++++++++++++++--------------------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/etcd.changes b/etcd.changes index be160e6..ce62059 100644 --- a/etcd.changes +++ b/etcd.changes @@ -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 diff --git a/etcd.service b/etcd.service index 197c802..4023af6 100644 --- a/etcd.service +++ b/etcd.service @@ -1,21 +1,21 @@ -[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 --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\"" -Restart=on-failure -LimitNOFILE=65536 -Nice=-10 -IOSchedulingClass=best-effort -IOSchedulingPriority=2 - -[Install] -WantedBy=multi-user.target +[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 --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\"" +Restart=on-failure +LimitNOFILE=65536 +Nice=-10 +IOSchedulingClass=best-effort +IOSchedulingPriority=2 + +[Install] +WantedBy=multi-user.target