1
0
Fork 0
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:
Eggbertx 2022-04-03 16:07:02 -07:00
parent 6dea1fab31
commit 959688ae08
4 changed files with 5 additions and 5 deletions

View file

@ -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"))

View file

@ -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

View file

@ -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

View file

@ -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,