summarylogtreecommitdiffstats
path: root/kstart.service
blob: dcbaab451d5416f148df9bfe3163f5ba06fd686f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Kerberos Ticket Acquisition Daemon

[Service]
Type=forking
Environment=KEYTAB=%h/.config/default.keytab
ExecStart=/usr/bin/k5start -K30 -a -H30 -f $KEYTAB -b -L
# -K30	Run forever, wake up every 30 min
# -a	With -K, renew on every wakeup regardless of lifetime
# -H30	With -K, renew if less than 30 min left (default 2 min)
# -b	Detach on startup (only if -f keytab is specified)
# -L	Log to syslog
# -v	Be verbose
ExecReload=/bin/kill -s ALRM $MAINPID
StandardOutput=null

[Install]
WantedBy=default.target

# vim: ft=systemd