diff --git a/deploy/go-carbon.service b/deploy/go-carbon.service index 207629d8e..a171060d9 100644 --- a/deploy/go-carbon.service +++ b/deploy/go-carbon.service @@ -1,7 +1,8 @@ [Unit] Description=Golang implementation of Graphite/Carbon server. Documentation=https://github.com/go-graphite/go-carbon -After=network.target +After=network-online.target local-fs.target +Wants=network-online.target local-fs.target [Service] Type=forking @@ -11,8 +12,8 @@ KillSignal=USR2 Restart=on-failure TimeoutStopSec=600 -LimitNOFILE=55555 +LimitNOFILE=1048576 LimitMEMLOCK=infinity [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target