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
#/lib/systemd/system/myservice.service | |
# | |
# systemctl daemon-reload | |
# systemctl enable myservice.service | |
# systemctl start myservice.service | |
# | |
[Unit] | |
Description=Service | |
ConditionPathExists=/path/to/web/folder | |
After=network.target |
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
""" | |
fabfile.py | |
fabric config file. | |
It was for simplicity. I personally don't like to extend this script to more complex to config, read, work | |
usage: | |
Find `Configurations` part to config by all your needs, maybe code adjustment are also needed. |