dataset/seed/roundcube/templates/roundcube.service

15 lines
479 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
2023-06-23 08:12:05 +02:00
ExecStart=-/usr/bin/psql --set=sslmode=verify-full -h {{ general.postgresql.pg_client_server_domainname }} -U {{ general.postgresql.pg_client_username }} {{ general.postgresql.pg_client_database }} -f /usr/share/roundcubemail/SQL/postgres.initial.sql"
2022-03-08 19:42:28 +01:00
[Install]
WantedBy=multi-user.target