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