Do not leave service in auto-restarting mode in case of configuration failure

This commit is contained in:
Jakub Jelen 2017-03-01 18:35:45 +01:00
parent b83281f89d
commit f499c489fd

View File

@ -12,6 +12,7 @@ ExecReload=/bin/kill -HUP $MAINPID
KillMode=process KillMode=process
Restart=on-failure Restart=on-failure
RestartSec=42s RestartSec=42s
RestartPreventExitStatus=255
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target