From 5dfff2207b2c07a682ab14e7d07d5e890cb5b9e6 Mon Sep 17 00:00:00 2001 From: allano337 Date: Wed, 16 Aug 2017 11:59:02 -0700 Subject: [PATCH] feature: Create librenms-irc.service (#7087) * Create librenms-irc.service basic systemd start up script goes in /etc/systemd/system/librenms-irc.service it is set to start at boot, but it can be stopped or started just like any other systemd script ie. systemctl start librenms-irc.service * Small changes --- misc/librenms-irc.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 misc/librenms-irc.service diff --git a/misc/librenms-irc.service b/misc/librenms-irc.service new file mode 100644 index 0000000000..bb48335bb5 --- /dev/null +++ b/misc/librenms-irc.service @@ -0,0 +1,12 @@ +# /etc/systemd/system/librenms-irc.service + +[Unit] +Description=Librenms IRC bot +After=network.target + +[Service] +ExecStart=/opt/librenms/irc.php +Restart=always + +[Install] +WantedBy=default.target