ansible-role-sogo/templates/sogo.service.j2
Denis Knauf 2fc94b54bd initial
2021-05-14 14:20:55 +02:00

20 lines
505 B
Django/Jinja

[Unit]
Description=SOGo is a groupware server
Documentation=https://sogo.nu/files/docs/SOGoInstallationGuide.html
After=network.target
After=postgresql.service
After=mariadb.service
After=mysql.service
[Service]
Environment="PREFORK=3"
EnvironmentFile=-/etc/default/sogo
Type=forking
ExecStart=/usr/local/sbin/sogod -WOWorkersCount ${PREFORK} -WOPidFile /run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
RuntimeDirectory=sogo
PIDFile=/run/sogo/sogo.pid
User=sogo
[Install]
WantedBy=multi-user.target