From 53efeb18d442000dce477a819f361ba0d5354a06 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 5 Oct 2020 12:22:04 -0400 Subject: [PATCH] add systemd unit file --- init/guildgate.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 init/guildgate.service diff --git a/init/guildgate.service b/init/guildgate.service new file mode 100644 index 0000000..1fedc4c --- /dev/null +++ b/init/guildgate.service @@ -0,0 +1,13 @@ +[Unit] +Description=Guildgate: A web front-end for LDAP +After=network.target +StartLimitIntervalSec=0 +[Service] +Type=simple +Restart=always +RestartSec=1 +User=root +ExecStart=/usr/local/bin/guildgate + +[Install] +WantedBy=multi-user.target