systemd/user: add ipfs, transmission-daemon (from system)

This commit is contained in:
Aminda Suomalainen 2020-03-30 08:42:06 +03:00
parent b2dac44a64
commit d1fc83913b
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 12 additions and 1 deletions

View File

@ -59,7 +59,6 @@ ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dht --enable-gc --enable-na
# amount of connection tolerable and won't cause issues.
#
Restart=on-failure
User=mikaela
[Install]
WantedBy=default.target

View File

@ -0,0 +1,12 @@
[Unit]
# This is ust copied from the Debian package
Description=Transmission BitTorrent Daemon
[Service]
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error
ExecStop=/bin/kill -s STOP $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
[Install]
WantedBy=default.target