fix: precommit fix all
- run pre-commit against all files - preparation for running pre-commit in ci
This commit is contained in:
@@ -14,4 +14,4 @@ chmod +x /app/stalwart
|
||||
# Process the nfpm.yaml template with environment variables
|
||||
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||
|
||||
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
systemctl daemon-reload
|
||||
|
||||
# Note: We don't remove user data, logs, or configuration files
|
||||
# to preserve user data in case of reinstallation
|
||||
# to preserve user data in case of reinstallation
|
||||
|
||||
@@ -17,4 +17,4 @@ mkdir -p /var/log/stalwart
|
||||
# Set ownership
|
||||
chown -R stalwart:stalwart /opt/stalwart
|
||||
chown -R stalwart:stalwart /var/lib/stalwart
|
||||
chown -R stalwart:stalwart /var/log/stalwart
|
||||
chown -R stalwart:stalwart /var/log/stalwart
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
if systemctl is-enabled stalwart.service >/dev/null 2>&1; then
|
||||
systemctl stop stalwart.service
|
||||
systemctl disable stalwart.service
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -22,4 +22,4 @@ ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/stalwart /var/log/stalwart /opt/stalwart/data
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user