1
0
Fork 0
changer/changer-dev.service

28 lines
659 B
SYSTEMD
Raw Normal View History

2017-04-27 23:30:52 +09:00
[Unit]
Description=Inhouse internal user mgnt server
Documentation=https://amuz.es
After=syslog.target network-online.target
Wants=network-online.target
[Service]
Type=notify
Restart=always
RestartSec=15
ExecStart=/usr/bin/changer -C /etc/changer/settings.yml -L /var/logs/changer
WorkingDirectory=/var/logs/changer
#ExecReload=/bin/kill -s HUP $MAINPID
TimeoutStartSec=5
# Disable timeout logic and wait until process is stopped
TimeoutStopSec=0
# SIGTERM signal is used to stop Minio
KillSignal=SIGTERM
SendSIGKILL=no
SuccessExitStatus=0
# kill only the docker process, not all processes in the cgroup
KillMode=process
[Install]
WantedBy=default.target