mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-07-24 19:22:51 +02:00
17 lines
288 B
Text
17 lines
288 B
Text
%if 0%{?rhel} >= 7
|
|
%systemd_post zerotier-one.service
|
|
%endif
|
|
%if 0%{?fedora} >= 21
|
|
%systemd_post zerotier-one.service
|
|
%endif
|
|
%if 0%{?rhel} <= 6
|
|
case "$1" in
|
|
1)
|
|
chkconfig --add zerotier-one
|
|
;;
|
|
2)
|
|
chkconfig --del zerotier-one
|
|
chkconfig --add zerotier-one
|
|
;;
|
|
esac
|
|
%endif
|