Skip to main content

Useful or just crack?<br><b>Crack. Don't do it at home, kids. See the com...



- 2015-07-28T18:35:50+0000 - Updated: 2015-07-29T09:32:10+0000
Useful or just crack?
Crack. Don't do it at home, kids. See the comments.

# /etc/systemd/system/systemd-autoreload.path
[Unit]
Description=triggers reload on units' change

[Path]
PathChanged=/etc/systemd/system
PathChanged=/run/systemd/system

[Install]
WantedBy=multi-user.target



# /etc/systemd/system/systemd-autoreload.service
[Unit]
Description=reload PID1 configuration

[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl daemon-reload
Shared with: Public
- 2015-07-28T19:59:09+0000
crack. . .
- 2015-07-29T09:17:56+0000
crack. Reloads are not atomic. What you are doing is massively unsafe. There's a reason we dont do this...

Comments


Comments powered by Disqus