Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31371 - [noip] support request for systemd

Attached to Project: Community Packages
Opened by Márcio (coadde) - Saturday, 01 September 2012, 00:24 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 11 December 2012, 21:04 GMT
Task Type Support Request
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Needed noip.service to boot under systemd

Additional info:
/usr/lib/systemd/system/noip.service

--------------------------------------------------

[Unit]
Description=A Dynamic DNS Client Updater for no-ip.com services
After=netcfg.service networkmanager.service
Before=named.service

[Service]
Type=forking
ExecStart=/usr/bin/noip2
RestartSec=1s

[Install]
WantedBy=multi-user.target
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 11 December 2012, 21:04 GMT
Reason for closing:  Implemented
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 01 September 2012, 06:22 GMT
*warning*
After=netcfg.service networkmanager.service -> wrong, must be network.target
Before=named.service -> ???

RestartSec=1s -> does not make sense, since Restart= is no (default)
Comment by Steven (Stebalien) - Monday, 03 September 2012, 17:44 GMT
Here is a better service file (nss-lookup is for DNS resolution):

[Unit]
Description=No-IP Dynamic DNS
After=network.target nss-lookup.target

[Service]
Type=forking
GuessMainPID=1
ExecStart=/usr/bin/noip2
ExecStop=/usr/bin/noip2 -K $MAINPID

[Install]
WantedBy=multi-user.target
Comment by Dave Reisner (falconindy) - Monday, 03 September 2012, 17:51 GMT
network.target is implicit if you have nss-lookup.target as an ordering dependency. GuessMainPID is redundant.
Comment by Steven (Stebalien) - Monday, 03 September 2012, 19:19 GMT Comment by Dave Reisner (falconindy) - Monday, 03 September 2012, 20:18 GMT
Ah yes, and after some quick testing, I see why I did that. Carry on.

Loading...