diff options
author | fzerorubigd | 2015-06-08 20:04:41 +0430 |
---|---|---|
committer | fzerorubigd | 2015-06-08 20:04:41 +0430 |
commit | 6522bc62fcf9be31ad9024b528dfabeebf49edda (patch) | |
tree | a4e4c2346d4097a59ac1e57322a41f0755fd008c /cow-proxy-git.install | |
download | aur-6522bc62fcf9be31ad9024b528dfabeebf49edda.tar.gz |
migrate to aur4
Diffstat (limited to 'cow-proxy-git.install')
-rw-r--r-- | cow-proxy-git.install | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/cow-proxy-git.install b/cow-proxy-git.install new file mode 100644 index 000000000000..4c7fc9ae935f --- /dev/null +++ b/cow-proxy-git.install @@ -0,0 +1,51 @@ +post_install() { + +cat << EOF + The cow.service is only available for an available user + Configuration sample can be found at : https://github.com/cyfdecyf/cow/tree/master/doc/sample-config + + mkdir -p ~/.cow + wget https://raw.githubusercontent.com/cyfdecyf/cow/master/doc/sample-config/rc + + and edit listen and proxy settings. the document is in chineese :) + + for direct and block list, you can also edit ~/.cow/blocked and ~/.cow/direct +EOF +post_upgrade +} + +post_upgrade() { + +cat << EOF + + Running cow system instance for user account: + + To reload system systemd modules, execute + + systemctl daemon-reload + + To start cow, execute: + + systemctl start cow@user + + To autostart cow on system start, execute + + systemctl enable cow@user + + Running cow user instance (will used current user account): + + To reload user systemd modules, execute + + systemctl --user daemon-reload + + To start cow manually, execute: + + systemctl --user start cow + + To autostart cow on user login, execute + + systemctl --user enable cow + +EOF + +} |