summaryrefslogtreecommitdiff
blob: 92b48f1dec56b3b7ea85b015fb510a6e74b1f634 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=OpenAFS Server Service
After=syslog.target network.target

[Service]
ExecStartPre=/bin/sh -c "/bin/mkdir -p $(cut -d : -f 2 /etc/openafs/cacheinfo)"
ExecStart=/usr/sbin/bosserver -nofork $BOSSERVER_ARGS
ExecStop=/usr/bin/bos shutdown localhost -wait -localauth

[Install]
WantedBy=multi-user.target