"Louis Brauer" <lo...@emacs.ch> writes: >> Giving opportunity to use /usr/local/etc/redis-FOO.conf >> /usr/local/etc/redis-BAR.conf respectively, as separate instances. >> >> How can I do the same under OpenBSD 7.4? > > You could just copy the /etc/rc.d/redis file to /etc/rc.d/redis2 and modify > the daemon_flags settings in it to use a separate config file. > > Then > - rcctl enable redis2 > - rcctl start redis2 > > I just tried that and it seems to work.
yes it is working. but I would use a symlink (ln -s /etc/rc.d/redis{,2}) instead of copying the file: this way you have package update for the script for free. -- Sebastien Marie