Bug 800498 - Add native systemd service file for ucarp
Summary: Add native systemd service file for ucarp
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ucarp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-06 15:14 UTC by Fabian Deutsch
Modified: 2012-03-14 16:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-14 16:00:08 UTC
Type: ---


Attachments (Terms of Use)

Description Fabian Deutsch 2012-03-06 15:14:47 UTC
ucarp currently relies on an ... extensive sysv style init script, this should be bigrated to systemd.

Comment 1 Fabian Deutsch 2012-03-06 15:43:19 UTC
Looking at the init file it might make sense to use systemd unit instances [1].
But it's still a small wrapper needed to convert the env files to ucarp params.

[1] http://0pointer.de/blog/projects/instances.html

Comment 2 Gwyn Ciesla 2012-03-08 14:38:39 UTC
Interesting.  I'll have look at that.

Comment 3 Gwyn Ciesla 2012-03-14 16:00:08 UTC
Done.  Test if you like, works for me.  Thanks for the pointer.  I basically used the initscript as the bones of the wrapper, since the daemon doesn't take a config as an argument.  Once configured, things like systemctl start ucarp work.


Note You need to log in before you can comment on or make changes to this bug.