[02:14] how can I have my server send a email just before it shuts down? [02:17] the 'easy' way is to write a little script for you to use to shut it down, that'll send the email, sleep for a bit or loop for a bit to check if the email was actually sent, and *then* shutdown [02:17] trying to hook the existing tooling might be difficult, since shutting down the email server would be part of the shutdown tasks.. [02:19] where would I look to hook into the tooling? [02:22] MIF: check out systemd.special(7), it describes a *lot* of targets for this; poweroff.target, exit.target, halt.target, shutdown.target, omg too many :) [02:22] ok [02:22] thanks [02:23] MIF: you'd juggle the various dependency lines in a .service file to either be 'running' your thing the entire lifetime of the machine and then have an ExecStop or similar to send a mail.. or perhaps a service file that's Wanted by one of these targets, I'm not sure which path is more likely to be successful [02:24] MIF: you'd probably also need to declare reationships to the mail server, Requires= .. [02:24] can't I just edit the stop file for the mailserver? [02:24] can't I just edit the stop file for the mail server? [02:31] I thought you wanted an email sent just before the server shuts down, rather than an email sent just before the mail server service is stopped :) [02:31] when it is shuting down [02:31] any time [02:31] so if it crashes [02:31] it will let me know [02:34] probably you want an off-machine monitoring service then [02:36] are there any free ones that you know of? [02:36] nagios is kind of the ancient king [02:38] I can't afford anything [02:45] that's fine, there's almost too many free choices :) [02:45] it'd be easier if there were just a few, but there's *so many* to choose from that it's easy to suffer from analysis paralysis [02:45] lol [05:56] Good morning === denningsrogue68 is now known as denningsrogue6 [08:45] coreycb: is https://review.opendev.org/c/openstack/magnum/+/777910 making it's way into UCA packages soon? [08:45] seeing in jobs https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_df0/778749/7/check/puppet-openstack-integration-6-scenario003-tempest-ubuntu-focal/df09858/logs/puppet.txt === StathisA_ is now known as StathisA === StathisA_ is now known as StathisA [12:27] tobias-urdin: I don't think so, icey do you know? ^ [12:28] coreycb: tobias-urdin: not that I know of [12:29] if not we can get it going, I assume it upgrades ok [13:15] Embarassingly trivial question of the day: can I select a network interface in preseed given its MAC address? [13:29] weird that you haven't hit that yet since it's required for mysql 8 [18:04] raub: preseed is dead [18:04] or ultra legacy at least === hggdh is now known as hggdh-msft === hggdh-msft is now known as hggdh