1
0
Fork 0
changer-arch-pkg/changer.service

30 lines
687 B
SYSTEMD

[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/log/changer -v
WorkingDirectory=/var/lib/changer
#ExecReload=/bin/kill -s HUP $MAINPID
TimeoutStartSec=5
User=changer
Group=changer
# 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