Last active
December 23, 2021 08:48
-
-
Save wonderbeyond/6a7eb86ec55cbbc4fa7bc966e7896014 to your computer and use it in GitHub Desktop.
Use systemd to autostart a watching script
This file contains 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=A Watcher | |
[Service] | |
ExecStart=/home/ubuntu/.pyenv/versions/minio/bin/auto-extractor -d /var/www/minio/ -x \\.minio\\.sys/ | |
Restart=on-abort | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment