etc/systemd: rm cjdns & miredo, I am unlikely to use them again

This commit is contained in:
Aminda Suomalainen 2021-05-16 11:15:34 +03:00
parent 2f0491e060
commit 306270c441
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
4 changed files with 0 additions and 34 deletions

View File

@ -1 +0,0 @@
These files are copied from https://github.com/cjdelisle/cjdns/tree/master/contrib/systemd/ and in case of cjdns.service the pathes are adjusted to how I am likely to be run it.

View File

@ -1,10 +0,0 @@
[Unit]
Description=Restart cjdns on resume from sleep
After=sleep.target
[Service]
Type=oneshot
ExecStart=/bin/systemctl restart cjdns
[Install]
WantedBy=sleep.target

View File

@ -1,20 +0,0 @@
[Unit]
Description=cjdns: routing engine designed for security, scalability, speed and ease of use
Wants=network.target
After=network.target
[Service]
ProtectHome=true
ProtectSystem=true
SyslogIdentifier=cjdroute
ExecStartPre=/bin/sh -ec "if ! test -s /opt/cjdns/cjdroute.conf; \
then umask 077; \
/opt/cjdns/cjdroute --genconf > /opt/cjdns/cjdroute.conf; \
echo 'WARNING: A new /opt/cjdns/cjdroute.conf file has been generated.'; \
fi"
ExecStart=/bin/sh -c "exec /opt/cjdns/cjdroute --nobg < /opt/cjdns/cjdroute.conf"
Restart=always
[Install]
WantedBy=multi-user.target
Also=cjdns-resume.service

View File

@ -1,3 +0,0 @@
[Unit]
# If unbound is used for DNS, also add unbound.service
After=network-online.target