Jan Engelhardt
fe48a204a6
OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=2
13 lines
558 B
Bash
13 lines
558 B
Bash
#!/bin/sh
|
|
|
|
# %files
|
|
chown gromox:gromox /var/lib/gromox /var/log/gromox || :
|
|
chmod 0770 /var/lib/gromox /var/log/gromox || :
|
|
|
|
# %post
|
|
if test -x /usr/bin/systemctl; then
|
|
systemd-tmpfiles --create tmpfiles-gromox.conf || :
|
|
systemctl daemon-reload || :
|
|
systemctl try-restart gromox-adaptor.service gromox-delivery.service gromox-delivery-queue.service gromox-event.service gromox-http.service gromox-imap.service gromox-midb.service gromox-pop3.service gromox-timer.service gromox-zcore.service grommunio-chat.service php7.4-fpm.service 2>/dev/null || :
|
|
fi
|