Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 739 Bytes
[Unit]
Description=cjdns: routing engine designed for security, scalability, speed and ease of use
Wants=network.target
After=network-pre.target
Before=network.target network.service
[Service]
ProtectHome=true
ProtectSystem=true
SyslogIdentifier=cjdroute
ExecStartPre=/bin/sh -ec "if ! test -s /etc/cjdroute.conf; \
then umask 077; \
/usr/bin/cjdroute --genconf > /etc/cjdroute.conf; \
echo 'WARNING: A new /etc/cjdroute.conf file has been generated.'; \
fi"
ExecStartPre=-/sbin/ip -6 route add blackhole fc00::/8 metric 500
ExecStart=/bin/sh -c "exec /usr/bin/cjdroute --nobg < /etc/cjdroute.conf"
Restart=always
[Install]
WantedBy=multi-user.target
Also=cjdns-resume.service
You can’t perform that action at this time.