mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-09-06 11:46:24 -07:00
Forgot to update build.py to be nicer to macOS users
Also the sample services and configs
This commit is contained in:
parent
6dea1fab31
commit
959688ae08
4 changed files with 5 additions and 5 deletions
4
build.py
4
build.py
|
@ -267,8 +267,8 @@ def docker(option="guestdb", attached=False):
|
|||
|
||||
|
||||
def install(prefix="/usr/local", document_root="/srv/gochan", js_only=False, css_only=False, templates_only=False):
|
||||
if gcos in ('windows', 'darwin'):
|
||||
print("Installation is not currently supported for Windows and macOS, use the respective directory created by running `python build.py release`")
|
||||
if gcos is "windows":
|
||||
print("Installation is not currently supported for Windows, use the respective directory created by running `python build.py release`")
|
||||
sys.exit(1)
|
||||
mkdir(document_root)
|
||||
mkdir(path.join(prefix, "share/gochan"))
|
||||
|
|
|
@ -4,7 +4,7 @@ Wants=mysql.service
|
|||
After=mysql.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/gochan
|
||||
ExecStart=/usr/local/bin/gochan
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -4,7 +4,7 @@ Wants=postgresql.service
|
|||
After=postgresql.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/gochan
|
||||
ExecStart=/usr/local/bin/gochan
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -87,7 +87,7 @@
|
|||
"CaptchaMinutesTimeout": 15,
|
||||
"EnableGeoIP": true,
|
||||
"_comment": "set GeoIPDBlocation to cf to use Cloudflare's GeoIP",
|
||||
"GeoIPDBlocation": "/usr/share/GeoIP/GeoIP.dat",
|
||||
"GeoIPDBlocation": "/usr/local/share/GeoIP/GeoIP.dat",
|
||||
"MaxRecentPosts": 3,
|
||||
"RecentPostsWithNoFile": false,
|
||||
"Verbosity": 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue