fix: combine Environment= into single line in systemd units
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-4
@@ -474,8 +474,7 @@ Wants=network-online.target
|
||||
Type=oneshot
|
||||
User=root
|
||||
ExecStart=${_self} update run
|
||||
Environment=HOME=/root
|
||||
Environment=STACKS_DIR=${STACKS_DIR}
|
||||
Environment="HOME=/root" "STACKS_DIR=${STACKS_DIR}"
|
||||
EOF
|
||||
cat > /etc/systemd/system/stacks-update.timer << 'EOF'
|
||||
[Unit]
|
||||
@@ -632,8 +631,7 @@ Wants=network-online.target
|
||||
Type=oneshot
|
||||
User=root
|
||||
ExecStart=${_self} backup run
|
||||
Environment=HOME=/root
|
||||
Environment=STACKS_DIR=${STACKS_DIR}
|
||||
Environment="HOME=/root" "STACKS_DIR=${STACKS_DIR}"
|
||||
EOF
|
||||
cat > /etc/systemd/system/stacks-backup.timer << 'EOF'
|
||||
[Unit]
|
||||
|
||||
Reference in New Issue
Block a user