diff options
author | s7hoang | 2022-01-18 07:30:45 -0500 |
---|---|---|
committer | s7hoang | 2022-01-20 04:44:14 -0500 |
commit | 102f107438340797925de996a2ba0bb9d088d5bc (patch) | |
tree | 1f42f5058fd6e11e68615e3de248206a90e107f4 /PKGBUILD | |
parent | eb8ebfa5174e6b8d1324e67f417d198e44591273 (diff) | |
download | aur-102f107438340797925de996a2ba0bb9d088d5bc.tar.gz |
Change Anki-Sync-Server Default Ip To Be 0.0.0.0
Learned that 0.0.0.0 refers to any ip which is a bit nicer
than forcing one particular ip only.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -50,8 +50,7 @@ prepare() { sed -i "3s/0\.0\.0\.0/${_your_ip_}/" plugins/anki2.1/anki-sync-server/__init__.py sed -i "3s/0\.0\.0\.0/${_your_ip_}/" plugins/anki2.1.28/anki-sync-server/__init__.py - # set current ip address as the server's ip address and change port - sed "3s/0\.0\.0\.0/${_your_ip_}/" ankisyncd.conf -i + # change port to 27702 since 27701 will be for nginx sed "4s/27701/27702/" ankisyncd.conf -i # set user and directory information for systemd service file |