Created
July 21, 2016 09:26
-
-
Save nna774/a2390705faabbd3b1c64958903f54a27 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=dateimage | |
[Service] | |
ExecStart=/bin/sh -c "while /bin/true; do /usr/bin/convert -size 200x200 -gravity center -background gray -fill white label:\"`LC_ALL=C /bin/date`\" /var/www/html/date.png; sleep 1; done" | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment