[systemd-devel] Why working this on reboot but not on start up

Günther J. Niederwimmer gjn at gjn.priv.at
Tue Sep 30 04:24:13 PDT 2014


Hello,

I have a problem to run this correct, it is working on a reboot but not on 
start up.

Can any help me for this Problem, Thanks.

I make a new service File for the kerberos initialisation

this is my construct is any wrong in this files?

/etc/tmpfiles.d/kinit.conf
d /run/user/0/krb5cc 1777 root root -


/etc/systemd/system/kinit.service
[Unit]
Description=Kerberos initial kinit
Wants=SuSEfirewall2_setup.service
After=SuSEfirewall2_setup.service

[Service]
Type=simple
ExecStart=/usr/bin/kinit -k host/asmtp.gjn.prv
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target


/etc/systemd/system/kinit.timer
[Unit]
Description=Fist Initialisation of KRB5

[Timer]
OnBootSec=3min

[Install]
WantedBy=timers.target


Thanks for the help.

-- 
mit freundlichen Grüßen / best Regards,

  Günther J. Niederwimmer


More information about the systemd-devel mailing list