OpenCloud: service file tweaks

This commit is contained in:
vhsdream 2025-06-15 03:23:28 -04:00
parent d6cf55b140
commit b267d3a948

View File

@ -88,7 +88,7 @@ EOF
cat <<EOF >/etc/systemd/system/opencloud.service cat <<EOF >/etc/systemd/system/opencloud.service
[Unit] [Unit]
Description=OpenCloud server Description=OpenCloud server
After=network.target After=network-online.target
[Service] [Service]
Type=simple Type=simple
@ -105,6 +105,7 @@ EOF
cat <<EOF >/etc/systemd/system/opencloud-wopi.service cat <<EOF >/etc/systemd/system/opencloud-wopi.service
[Unit] [Unit]
Description=OpenCloud WOPI Server Description=OpenCloud WOPI Server
Requires=coolwsd.service
After=network.target opencloud.service coolwsd.service After=network.target opencloud.service coolwsd.service
[Service] [Service]
@ -113,7 +114,7 @@ User=opencloud
Group=opencloud Group=opencloud
EnvironmentFile=${ENV_FILE} EnvironmentFile=${ENV_FILE}
ExecStart=/usr/bin/opencloud collaboration server ExecStart=/usr/bin/opencloud collaboration server
Restart=on-abnormal Restart=always
KillSignal=SIGKILL KillSignal=SIGKILL
KillMode=mixed KillMode=mixed
TimeoutStopSec=120 TimeoutStopSec=120
@ -122,7 +123,6 @@ TimeoutStopSec=120
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
# $STD sudo -u cool coolconfig set server_name "$COLLABORA_HOST":443
$STD sudo -u cool coolconfig set ssl.enable false $STD sudo -u cool coolconfig set ssl.enable false
$STD sudo -u cool coolconfig set ssl.termination true $STD sudo -u cool coolconfig set ssl.termination true
$STD sudo -u cool coolconfig set ssl.ssl_verification true $STD sudo -u cool coolconfig set ssl.ssl_verification true