dataset/seed/roundcube/templates/roundcube.service

15 lines
410 B
SYSTEMD
Raw Normal View History

2022-03-08 19:42:28 +01:00
[Unit]
Description=Roundcube database init
2022-08-18 16:38:37 +02:00
After=risotto.target
2022-05-04 10:29:03 +02:00
Before=nginx.service php-fpm.service
2022-03-08 19:42:28 +01:00
[Service]
Type=oneshot
2022-10-20 22:40:01 +02:00
Environment=PGPASSFILE=/usr/local/lib/secrets/postgresql.pass
ExecStart=-/usr/bin/psql --set=sslmode=verify-full -h %%pg_client_server_domainname -U %%pg_client_username %%pg_client_database -f /usr/share/roundcubemail/SQL/postgres.initial.sql"
2022-03-08 19:42:28 +01:00
[Install]
WantedBy=multi-user.target