Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Created January 12, 2020 00:37
Show Gist options
  • Save pandanote-info/0d550673b70602712fd8ae069b31c5fd to your computer and use it in GitHub Desktop.
Save pandanote-info/0d550673b70602712fd8ae069b31c5fd to your computer and use it in GitHub Desktop.
GROWIを起動するためのサービスのユニット定義ファイル(Fedora 31用)。
[Unit]
Description=Growi
After=network.target mongod.service
[Service]
WorkingDirectory=/opt/wiki/growi
EnvironmentFile=/etc/sysconfig/growi
ExecStart=/bin/bash /opt/wiki/startgrowi.sh
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment