diff options
author | Xin Yang <yangmame@icloud.com> | 2024-06-07 14:21:41 +0800 |
---|---|---|
committer | Xin Yang <yangmame@icloud.com> | 2024-06-07 14:21:41 +0800 |
commit | de4104905fa163df1dfffad147f141905646ad47 (patch) | |
tree | 4a9e2e84b0cee850f540233f8fa67d75165aee86 /net-vpn | |
parent | net-vpn/candy: add 5.8.7, drop 5.8.6 (diff) | |
download | guru-de4104905fa163df1dfffad147f141905646ad47.tar.gz guru-de4104905fa163df1dfffad147f141905646ad47.tar.bz2 guru-de4104905fa163df1dfffad147f141905646ad47.zip |
net-vpn/candy: add openrc initd and readme
Signed-off-by: Xin Yang <yangmame@icloud.com>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/candy/candy-5.8.7.ebuild | 5 | ||||
-rw-r--r-- | net-vpn/candy/files/README.gentoo | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/net-vpn/candy/candy-5.8.7.ebuild b/net-vpn/candy/candy-5.8.7.ebuild index bbf4d7c96..6da8fc22d 100644 --- a/net-vpn/candy/candy-5.8.7.ebuild +++ b/net-vpn/candy/candy-5.8.7.ebuild @@ -35,4 +35,9 @@ src_install(){ systemd_dounit candy.service systemd_dounit candy@.service + newinitd candy.initd candy +} + +pkg_postinst() { + readme.gentoo_print_elog } diff --git a/net-vpn/candy/files/README.gentoo b/net-vpn/candy/files/README.gentoo new file mode 100644 index 000000000..810d83332 --- /dev/null +++ b/net-vpn/candy/files/README.gentoo @@ -0,0 +1,10 @@ +Notes: + Running candy with multi instances + + 1) Using OpenRC + Prepare /etc/candy.d/${foo}.cfg first + # ln -s /etc/init.d/candy{,.${foo}} + # rc-update add candy.${foo} default + + 2) Using Systemd + # systemctl enable candy@${foo} |