python-mailman/mailman.service
Petr Gajdos 7b4ea6895c Accepting request 837918 from home:gladiac:mailman3
- Create mailman user and group
- Create directories for mailman and use FHS directory layout
- Create initial /etc/mailman.cfg
- Create /etc/mailman.d/ directory for extensions
- Add systemd files

OBS-URL: https://build.opensuse.org/request/show/837918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=27
2020-09-29 07:54:08 +00:00

26 lines
776 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/mailman3.service",
# containing
# .include /usr/lib/systemd/system/mailman3.service
# ...make your changes here...
# For more info about custom unit files, see
# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
[Unit]
Description=GNU Mailing List Manager
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/mailman/master.pid
User=mailman
Group=mailman
ExecStart=/usr/bin/mailman start --force
ExecReload=/usr/bin/mailman restart
ExecStop=/usr/bin/mailman stop
[Install]
WantedBy=multi-user.target