2018-08-14 22:18:22 +02:00
|
|
|
[Unit]
|
|
|
|
Description=SOGo is a groupware server
|
|
|
|
After=network.target
|
|
|
|
After=mariadb.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment="PREFORK=3"
|
|
|
|
Environment="LD_LIBRARY_PATH=/lib:/usr/lib:/opt/yunohost/__APP__/Library/Libraries/sogo:/opt/yunohost/__APP__/Local/Library/Libraries/sogo"
|
|
|
|
EnvironmentFile=-/etc/default/__APP__
|
|
|
|
Type=forking
|
2020-11-28 17:57:40 +01:00
|
|
|
ExecStart=/opt/yunohost/__APP__/sbin/sogod -WOWorkersCount ${PREFORK} -WOPidFile /run/__APP__/sogo.pid -WOLogFile /var/log/__APP__/sogo.log
|
|
|
|
PIDFile=/run/__APP__/sogo.pid
|
2018-08-14 22:18:22 +02:00
|
|
|
User=__APP__
|
|
|
|
|
|
|
|
[Install]
|
2020-11-28 17:57:40 +01:00
|
|
|
WantedBy=multi-user.target
|