From d1fc83913b6fa38309e48988315584c54049d6f6 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 30 Mar 2020 08:42:06 +0300 Subject: [PATCH] systemd/user: add ipfs, transmission-daemon (from system) --- .../system => conf/systemd/user}/ipfs.service | 1 - conf/systemd/user/transmission-daemon.service | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) rename {etc/systemd/system => conf/systemd/user}/ipfs.service (99%) create mode 100644 conf/systemd/user/transmission-daemon.service diff --git a/etc/systemd/system/ipfs.service b/conf/systemd/user/ipfs.service similarity index 99% rename from etc/systemd/system/ipfs.service rename to conf/systemd/user/ipfs.service index 29a15b7c..421dcb94 100644 --- a/etc/systemd/system/ipfs.service +++ b/conf/systemd/user/ipfs.service @@ -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 diff --git a/conf/systemd/user/transmission-daemon.service b/conf/systemd/user/transmission-daemon.service new file mode 100644 index 00000000..652ea89f --- /dev/null +++ b/conf/systemd/user/transmission-daemon.service @@ -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