nmdc-log-service: track sample systemd unit

This commit is contained in:
mappu 2016-04-16 19:01:20 +12:00
parent 8b23731451
commit b913d49317

14
hublog.service Normal file
View File

@ -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