From b913d493173d22424846e172fd52a591b129d504 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 16 Apr 2016 19:01:20 +1200 Subject: [PATCH] nmdc-log-service: track sample systemd unit --- hublog.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hublog.service diff --git a/hublog.service b/hublog.service new file mode 100644 index 0000000..e1cc762 --- /dev/null +++ b/hublog.service @@ -0,0 +1,14 @@ +[Unit] +Description=NMDC Log Service + +[Service] +Environment=TZ=Etc/UTC +Type=simple +ExecStart=/home/hublog/nmdc-log-service -Dir /home/hublog/logs/ -Server ... -Nick ... -Password '...' -VerifyTLS=false +Restart=always +RestartSec=30s +User=hublog +Group=nogroup + +[Install] +WantedBy=multi-user.target