diff options
Diffstat (limited to 'contrib/centos/gobgpd.service')
-rw-r--r-- | contrib/centos/gobgpd.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/centos/gobgpd.service b/contrib/centos/gobgpd.service new file mode 100644 index 00000000..5aac6d7b --- /dev/null +++ b/contrib/centos/gobgpd.service @@ -0,0 +1,17 @@ +[Unit] +Description=GoBGP Routing Daemon +Wants=network.target +After=network.target + +[Service] +Type=simple +ExecStartPre=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf -d +ExecStart=/usr/bin/gobgpd -f /etc/gobgpd/gobgpd.conf +ExecReload=/usr/bin/gobgpd -r +StandardOutput=journal +StandardError=journal +User=gobgpd +Group=gobgpd + +[Install] +WantedBy=multi-user.target |