Bug 278615 - sysutils/kopia does not have an RC startup script
Summary: sysutils/kopia does not have an RC startup script
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 17:46 UTC by patpro
Modified: 2024-04-27 19:21 UTC (History)
0 users

See Also:
eduardo: maintainer-feedback+


Attachments
save as /usr/local/etc/rc.d/kopia (787 bytes, text/plain)
2024-04-27 17:46 UTC, patpro
no flags Details
new version of kopia rc script (853 bytes, text/plain)
2024-04-27 17:52 UTC, patpro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description patpro 2024-04-27 17:46:32 UTC
Created attachment 250264 [details]
save as /usr/local/etc/rc.d/kopia

Hello,

I’ve created an rc script to automatically start kopia in server mode.
See attachment.

thanks!
Comment 1 patpro 2024-04-27 17:52:47 UTC
Created attachment 250265 [details]
new version of kopia rc script
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-27 19:19:24 UTC
Hello,

Thanks for rc script!

This is a good idea but it must be configured in a way that user can set it up easy.
I will think in a pkg-message describing how user should set up server in rc script and until is not configured it must use a sample config.
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-27 19:21:25 UTC
(In reply to Nuno Teixeira from comment #2)
(...)

I will look at other ports using USE_RC_SUBR and see how they deal with it.

Any sugestions please use this PR.

Cheers