Merge maddyctl and maddy executabes

Closes #432.
This commit is contained in:
fox.cpp 2022-01-07 00:37:29 +03:00
parent 9b1ee1b52f
commit c0eacfa0f3
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
25 changed files with 1343 additions and 1384 deletions

View file

@ -72,7 +72,7 @@ Restart=on-failure
# ... Unless it is a configuration problem.
RestartPreventExitStatus=2
ExecStart=/usr/local/bin/maddy
ExecStart=/usr/local/bin/maddy run
ExecReload=/bin/kill -USR1 $MAINPID
ExecReload=/bin/kill -USR2 $MAINPID

View file

@ -68,7 +68,7 @@ Restart=on-failure
# ... Unless it is a configuration problem.
RestartPreventExitStatus=2
ExecStart=/usr/local/bin/maddy -config /etc/maddy/%i.conf
ExecStart=/usr/local/bin/maddy --config /etc/maddy/%i.conf run
ExecReload=/bin/kill -USR1 $MAINPID
ExecReload=/bin/kill -USR2 $MAINPID