mailman/mailman3.service
starlet-dx bfae73d948 Add ExecStartPost option to mailman3.service for fix error message when mailman3 starting
(cherry picked from commit 9d970a19903159557339310e6208c93d1b344b12)
2023-03-08 23:24:35 +08:00

24 lines
663 B
Desktop File

# It's not recommended to modify this file in-place, because it will be
# overwritten during package upgrades. If you want to customize, the
# best way is to create a file "/etc/systemd/system/mailman.service",
# containing
# .include /usr/lib/systemd/system/mailman.service
# ...make your changes here...
[Unit]
Description=GNU Mailing List Manager
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/mailman3/master.pid
User=mailman
Group=mailman
ExecStart=/usr/bin/mailman3 start --force
ExecStartPost=/usr/bin/sleep 1
ExecReload=/usr/bin/mailman3 restart
ExecStop=/usr/bin/mailman3 stop
[Install]
WantedBy=multi-user.target