dataset/seed/nextcloud/templates/nextcloud.service
Emmanuel Garette 543ba30f8c reorganize
2022-08-18 10:19:43 +02:00

18 lines
397 B
Desktop File

[Unit]
Description=Nextcloud management
After=postgresqlclient.service
Before=apache.service php-fpm.service
[Service]
Type=oneshot
WorkingDirectory=/usr/share/nextcloud
#FIXME
ExecStart=+/usr/bin/chmod +w /etc/nextcloud/config.php
ExecStart=/usr/local/lib/sbin/nextcloud.init
ExecStart=+/usr/bin/chmod -w /etc/nextcloud/config.php
User=apache
Group=apache
[Install]
WantedBy=multi-user.target