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
|
Type=oneshot
|
||||||
User=root
|
User=root
|
||||||
ExecStart=${_self} update run
|
ExecStart=${_self} update run
|
||||||
Environment=HOME=/root
|
Environment="HOME=/root" "STACKS_DIR=${STACKS_DIR}"
|
||||||
Environment=STACKS_DIR=${STACKS_DIR}
|
|
||||||
EOF
|
EOF
|
||||||
cat > /etc/systemd/system/stacks-update.timer << 'EOF'
|
cat > /etc/systemd/system/stacks-update.timer << 'EOF'
|
||||||
[Unit]
|
[Unit]
|
||||||
@@ -632,8 +631,7 @@ Wants=network-online.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
User=root
|
User=root
|
||||||
ExecStart=${_self} backup run
|
ExecStart=${_self} backup run
|
||||||
Environment=HOME=/root
|
Environment="HOME=/root" "STACKS_DIR=${STACKS_DIR}"
|
||||||
Environment=STACKS_DIR=${STACKS_DIR}
|
|
||||||
EOF
|
EOF
|
||||||
cat > /etc/systemd/system/stacks-backup.timer << 'EOF'
|
cat > /etc/systemd/system/stacks-backup.timer << 'EOF'
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|||||||
Reference in New Issue
Block a user