Skip to content

Commit

Permalink
[script] Switch shutdown.service to clean shutdown option
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeyexp committed Aug 3, 2018
1 parent 0b64d7c commit 937374a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[Service]
Type=simple
ExecStartPre=/usr/local/bin/crankshaft display on
ExecStart=/sbin/shutdown -t 1 -P
ExecStart=/sbin/shutdown -t 1
ExecStartPost=/usr/bin/touch /tmp/external_exit
ExecStop=/sbin/shutdown -c
RemainAfterExit=yes

0 comments on commit 937374a

Please sign in to comment.