Skip to content

Commit

Permalink
Fix: try to use type oneshot with mount_luks.service
Browse files Browse the repository at this point in the history
  • Loading branch information
grydz committed Feb 24, 2025
1 parent 01983f0 commit b12387b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mount_luks.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Requires=multi-user.target
After=multi-user.target

[Service]
Type=exec
ExecStart=/bin/bash /root/mount_luks.sh
Type=oneshot
Restart=on-failure
RestartSec=10s
ExecStart=/bin/bash /root/mount_luks.sh

[Install]
WantedBy=default.target

0 comments on commit b12387b

Please sign in to comment.