/lib/systemd/system/openafs-client.service is in openafs-client 1.6.15-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [Unit]
Description=OpenAFS client
Wants=network-online.target
After=network.target network-online.target local-fs.target
Before=remote-fs.target umount.target
[Service]
Type=forking
RemainAfterExit=true
ExecStartPre=/usr/share/openafs/openafs-client-precheck
ExecStart=/sbin/afsd $AFSD_ARGS
ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT
ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME
ExecStop=/bin/grep -qv ^1$ /proc/sys/kernel/modules_disabled
ExecStop=/usr/share/openafs/openafs-client-postcheck
ExecStop=/bin/umount -a -t afs
ExecStop=/bin/umount -af -t afs
ExecStopPost=/sbin/rmmod $KMOD
EnvironmentFile=/var/cache/openafs-client/openafs-client.env
EnvironmentFile=-/var/cache/openafs-client/openafs-client.shutdown.env
KillMode=none
GuessMainPID=no
[Install]
WantedBy=multi-user.target remote-fs.target
|