...
Code Block |
---|
[Unit] Description=Good morning lazybones! [Service] Type=oneshotsimple ExecStart=/bin/echo "Dear lazybones!, it's a new morning. Love from your system @$(date)" > /var/www/good-morning Restart=on-failure RestartSec=30s |
Info |
---|
The |
We can this by reloading units in systemd and running our service (can then check that the file was generated):
...