Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GROWI起動用のサービスユニットファイルのコード例。
[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