etc/systemd: add ipfs.service & zeronet.service

Closes #101
This commit is contained in:
Aminda Suomalainen 2019-02-12 20:32:40 +02:00
parent 5f077f1fae
commit 5fe9477c55
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=IPFS daemon
After=network.target
[Service]
ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dhtclient --enable-gc
Restart=on-failure
User=mikaela
[Install]
WantedBy=default.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=ZeroNet
After=network.target
[Service]
ExecStart=/usr/bin/python2 /home/mikaela/src/github/HelloZeroNet/ZeroNet/zeronet.py
Restart=on-failure
User=mikaela
[Install]
WantedBy=default.target