nmdc-log-service: track sample systemd unit
This commit is contained in:
parent
649b3dfcab
commit
89b67f8559
14
src/nmdc-log-service/hublog.service
Normal file
14
src/nmdc-log-service/hublog.service
Normal 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
|
Loading…
Reference in New Issue
Block a user