freebsd: service failed to install
cuonglm opened this issue · comments
The (*freebsdService).Install
method uses os.Create
to create config file. However, if /usr/local/etc/rc.d/
does not exist, for example, on 12.04-stable, os.Create
will fail.
If I create the directory manually, then the Service.Install
run sucessfully.