Created
February 4, 2021 13:15
-
-
Save pandanote-info/f9e5fe76aef911ff8d62cc4cdc388aa8 to your computer and use it in GitHub Desktop.
GROWI起動用のサービスユニットファイルのコード例。
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=Growi | |
After=network-online.target mongod.service mariadb.service openvpn-client@client.service | |
[Service] | |
WorkingDirectory=/opt/wiki/growi | |
EnvironmentFile=/etc/sysconfig/growi | |
ExecStart=/bin/bash /opt/wiki/startgrowi.sh | |
ExecStop=/bin/bash /opt/wiki/startgrowi.sh stop | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment