Page MenuHomeFreeBSD

Create default dirs and symlink to dnsapi scripts

Authored by dvl on Jul 2 2017, 4:19 PM.


Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Remove wrong code from files/

45 ↗(On Diff #30324)

You cannot put sample files in there. You have to move them somewhere else, like EXAMPLESDIR.

newsyslog.conf has:

<include> /usr/local/etc/newsyslog.conf.d/*

So all the files in there are always used. If you put a .sample file, it will be used.

Also, the file should probably be named, and not the very long name you have now.

9–11 ↗(On Diff #30324)
/usr/bin/install -d -o acme -g acme -m 750 ~/acme/
15–17 ↗(On Diff #30324)

/usr/bin/install -d -o acme -g acme -m 750 ~/acme/certs

21 ↗(On Diff #30324)

I would use %%EXAMPLESDIR%% directly here, no real need to create a variable.

This revision was automatically updated to reflect the committed changes.
dvl marked 4 inline comments as done.