diff options
Diffstat (limited to 'depo/.config/systemd/user')
31 files changed, 262 insertions, 0 deletions
diff --git a/depo/.config/systemd/user/bitcoind.env b/depo/.config/systemd/user/bitcoind.env new file mode 100644 index 0000000..8236eb2 --- /dev/null +++ b/depo/.config/systemd/user/bitcoind.env @@ -0,0 +1,2 @@ +PASSWORD=password +PATH=/home/depolymerization/.local/bin:/usr/bin:/bin diff --git a/depo/.config/systemd/user/bitcoind.service b/depo/.config/systemd/user/bitcoind.service new file mode 100644 index 0000000..fe825ad --- /dev/null +++ b/depo/.config/systemd/user/bitcoind.service @@ -0,0 +1,12 @@ +[Unit] +Description=Bitcoind + +[Service] +ExecStart=/home/depolymerization/bitcoin/bin/bitcoind -rpcservertimeout=0 +StandardOutput=append:/home/depolymerization/.taler/logs/bitcoind.log +StandardError=append:/home/depolymerization/.taler/logs/bitcoind.log +EnvironmentFile=/home/depolymerization/.config/systemd/user/bitcoind.env + + +[Install] +WantedBy=multi-user.target diff --git a/depo/.config/systemd/user/btc-wire.service b/depo/.config/systemd/user/btc-wire.service new file mode 100644 index 0000000..046cbd3 --- /dev/null +++ b/depo/.config/systemd/user/btc-wire.service @@ -0,0 +1,14 @@ +[Unit] +Description=Bitcoin wire adapter +After=bitcoind.service + + + +[Service] +ExecStart=/home/depolymerization/.cargo/bin/btc-wire -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/btc-wire.log +StandardError=append:/home/depolymerization/.taler/logs/btc-wire.log +EnvironmentFile=/home/depolymerization/.config/systemd/user/bitcoind.env + +[Install] +WantedBy=multi-user.target diff --git a/depo/.config/systemd/user/multi-user.target.wants/bitcoind.service b/depo/.config/systemd/user/multi-user.target.wants/bitcoind.service new file mode 120000 index 0000000..a315587 --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/bitcoind.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/bitcoind.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/btc-wire.service b/depo/.config/systemd/user/multi-user.target.wants/btc-wire.service new file mode 120000 index 0000000..2449eec --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/btc-wire.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/btc-wire.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/nginx.service b/depo/.config/systemd/user/multi-user.target.wants/nginx.service new file mode 120000 index 0000000..8a64ca4 --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/nginx.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/nginx.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/taler-local-blog.service b/depo/.config/systemd/user/multi-user.target.wants/taler-local-blog.service new file mode 120000 index 0000000..f4d8ffe --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/taler-local-blog.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/taler-local-blog.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/taler-local-donations.service b/depo/.config/systemd/user/multi-user.target.wants/taler-local-donations.service new file mode 120000 index 0000000..e461950 --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/taler-local-donations.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/taler-local-donations.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/taler-local-exchange.target b/depo/.config/systemd/user/multi-user.target.wants/taler-local-exchange.target new file mode 120000 index 0000000..3a950c3 --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/taler-local-exchange.target @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/taler-local-exchange.target
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/taler-local-landing.service b/depo/.config/systemd/user/multi-user.target.wants/taler-local-landing.service new file mode 120000 index 0000000..83b3cab --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/taler-local-landing.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/taler-local-landing.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/taler-local-merchant-backend.service b/depo/.config/systemd/user/multi-user.target.wants/taler-local-merchant-backend.service new file mode 120000 index 0000000..ed207fb --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/taler-local-merchant-backend.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/taler-local-merchant-backend.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/multi-user.target.wants/wire-gateway.service b/depo/.config/systemd/user/multi-user.target.wants/wire-gateway.service new file mode 120000 index 0000000..9bf47cf --- /dev/null +++ b/depo/.config/systemd/user/multi-user.target.wants/wire-gateway.service @@ -0,0 +1 @@ +/home/depolymerization/.config/systemd/user/wire-gateway.service
\ No newline at end of file diff --git a/depo/.config/systemd/user/nginx.service b/depo/.config/systemd/user/nginx.service new file mode 100644 index 0000000..f7165de --- /dev/null +++ b/depo/.config/systemd/user/nginx.service @@ -0,0 +1,28 @@ +# Stop dance for nginx +# ======================= +# +# ExecStop sends SIGSTOP (graceful stop) to the nginx process. +# If, after 5s (--retry QUIT/5) nginx is still running, systemd takes control +# and sends SIGTERM (fast shutdown) to the main process. +# After another 5s (TimeoutStopSec=5), and if nginx is alive, systemd sends +# SIGKILL to all the remaining processes in the process group (KillMode=mixed). +# +# nginx signals reference doc: +# http://nginx.org/en/docs/control.html +# +[Unit] +Description=nginx proxy for depolymerization +Documentation=man:nginx(8) + +[Service] +Type=forking +PIDFile=/run/nginx.pid +ExecStartPre=/usr/sbin/nginx -c /home/depolymerization/.taler/config/nginx.conf -t -q -g 'daemon on; master_process on;' +ExecStart=/usr/sbin/nginx -c /home/depolymerization/.taler/config/nginx.conf -g 'daemon on; master_process on;' +ExecReload=/usr/sbin/nginx -c /home/depolymerization/.taler/config/nginx.conf -g 'daemon on; master_process on;' -s reload +ExecStop=-/sbin/start-stop-daemon -c /home/depolymerization/.taler/config/nginx.conf --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid +TimeoutStopSec=5 +KillMode=mixed + +[Install] +WantedBy=multi-user.target diff --git a/depo/.config/systemd/user/taler-local-blog.service b/depo/.config/systemd/user/taler-local-blog.service new file mode 100644 index 0000000..5d6401e --- /dev/null +++ b/depo/.config/systemd/user/taler-local-blog.service @@ -0,0 +1,11 @@ +[Unit] +Description=Blog that accepts Taler payments. + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-merchant-demos blog -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-merchant-demos.log +StandardError=append:/home/depolymerization/.taler/logs/taler-merchant-demos.log +EnvironmentFile=/home/depolymerization/.config/systemd/user/taler-local-frontends.env + +[Install] +WantedBy=multi-user.target
\ No newline at end of file diff --git a/depo/.config/systemd/user/taler-local-donations.service b/depo/.config/systemd/user/taler-local-donations.service new file mode 100644 index 0000000..e2c2ad2 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-donations.service @@ -0,0 +1,11 @@ +[Unit] +Description=Donation Website that accepts Taler payments. + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-merchant-demos donations -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-merchant-demos.log +StandardError=append:/home/depolymerization/.taler/logs/taler-merchant-demos.log +EnvironmentFile=/home/depolymerization/.config/systemd/user/taler-local-frontends.env + +[Install] +WantedBy=multi-user.target
\ No newline at end of file diff --git a/depo/.config/systemd/user/taler-local-exchange-aggregator.service b/depo/.config/systemd/user/taler-local-exchange-aggregator.service new file mode 100644 index 0000000..9e961f1 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-aggregator.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange Aggregator +PartOf=taler-local-exchange.target + + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-aggregator --kyc-off -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-aggregator.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-aggregator.log +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange-closer.service b/depo/.config/systemd/user/taler-local-exchange-closer.service new file mode 100644 index 0000000..47c3ab9 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-closer.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange Closer +PartOf=taler-local-exchange.target + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-closer -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-closer.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-closer.log + +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange-httpd.service b/depo/.config/systemd/user/taler-local-exchange-httpd.service new file mode 100644 index 0000000..fa19bb1 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-httpd.service @@ -0,0 +1,19 @@ +[Unit] +Description=Taler Exchange HTTP daemon +Requires=taler-local-exchange-httpd.socket taler-local-exchange-secmod-cs.service taler-local-exchange-secmod-rsa.service taler-local-exchange-secmod-eddsa.service +After=taler-local-exchange-secmod-cs.service taler-local-exchange-secmod-rsa.service taler-local-exchange-secmod-eddsa.service +PartOf=taler-local-exchange.target + + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-httpd -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-httpd.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-httpd.log + +Restart=always +# Do not dally on restarts. +RestartSec=1ms + +[Install] +WantedBy=multi-user.target + diff --git a/depo/.config/systemd/user/taler-local-exchange-httpd.socket b/depo/.config/systemd/user/taler-local-exchange-httpd.socket new file mode 100644 index 0000000..96ac2c0 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-httpd.socket @@ -0,0 +1,15 @@ +[Unit] +Description=Taler Exchange Socket +PartOf=taler-local-exchange-httpd.service + +[Socket] +ListenStream=/home/depolymerization/.taler/sockets/exchange.sock +Accept=no +Service=taler-local-exchange-httpd.service +SocketMode=0660 +SocketUser=depolymerization +SocketGroup=depolymerization + + +[Install] +WantedBy=sockets.target diff --git a/depo/.config/systemd/user/taler-local-exchange-secmod-cs.service b/depo/.config/systemd/user/taler-local-exchange-secmod-cs.service new file mode 100644 index 0000000..1e2e64c --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-secmod-cs.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange CS security module +PartOf=taler-local-exchange.target + + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-secmod-cs -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-secmod-cs.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-secmod-cs.log +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange-secmod-eddsa.service b/depo/.config/systemd/user/taler-local-exchange-secmod-eddsa.service new file mode 100644 index 0000000..dc8f9f6 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-secmod-eddsa.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange EDDSA security module +PartOf=taler-local-exchange.target + + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-secmod-eddsa -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-secmod-eddsa.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-secmod-eddsa.log +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange-secmod-rsa.service b/depo/.config/systemd/user/taler-local-exchange-secmod-rsa.service new file mode 100644 index 0000000..e7df100 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-secmod-rsa.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange RSA security module +PartOf=taler-local-exchange.target + + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-secmod-rsa -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-secmod-rsa.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-secmod-rsa.log +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange-transfer.service b/depo/.config/systemd/user/taler-local-exchange-transfer.service new file mode 100644 index 0000000..9aeef61 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-transfer.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange Transfer +PartOf=taler-local-exchange.target + + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-transfer -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-transfer.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-transfer.log +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange-wirewatch.service b/depo/.config/systemd/user/taler-local-exchange-wirewatch.service new file mode 100644 index 0000000..1b1098b --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange-wirewatch.service @@ -0,0 +1,11 @@ +[Unit] +Description=Taler Exchange Wirewatch +PartOf=taler-local-exchange.target + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-exchange-wirewatch -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-exchange-wirewatch.log +StandardError=append:/home/depolymerization/.taler/logs/taler-exchange-wirewatch.log + +Restart=always +RestartSec=100ms diff --git a/depo/.config/systemd/user/taler-local-exchange.target b/depo/.config/systemd/user/taler-local-exchange.target new file mode 100644 index 0000000..2235564 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-exchange.target @@ -0,0 +1,11 @@ +[Unit] +Description=GNU Taler exchange + +Wants=taler-local-exchange-httpd.service +Wants=taler-local-exchange-wirewatch.service +Wants=taler-local-exchange-aggregator.service +Wants=taler-local-exchange-closer.service +Wants=taler-local-exchange-transfer.service + +[Install] +WantedBy=multi-user.target diff --git a/depo/.config/systemd/user/taler-local-frontends.env b/depo/.config/systemd/user/taler-local-frontends.env new file mode 100644 index 0000000..c884b6c --- /dev/null +++ b/depo/.config/systemd/user/taler-local-frontends.env @@ -0,0 +1,7 @@ +PATH=/home/depolymerization/geth:/home/depolymerization/bitcoin/bin:/usr/lib/postgresql/13/bin:/home/depolymerization/.vscode-server/bin/c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1/bin/remote-cli:/home/depolymerization/.local/bin:/home/depolymerization/geth:/home/depolymerization/bitcoin/bin:/usr/lib/postgresql/13/bin:/home/depolymerization/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:: +TALER_CONFIG_FILE=/home/depolymerization/.taler/config/taler.conf +TALER_ENV_URL_INTRO=http://localhost:8080/landing/ +TALER_ENV_URL_BANK=http://localhost:8080/btc-wire/ +TALER_ENV_URL_MERCHANT_BLOG=http://localhost:8080/blog/ +TALER_ENV_URL_MERCHANT_DONATIONS=http://localhost:8080/donations/ +TALER_ENV_URL_MERCHANT_SURVEY=http://localhost:8080/survey/ diff --git a/depo/.config/systemd/user/taler-local-landing.service b/depo/.config/systemd/user/taler-local-landing.service new file mode 100644 index 0000000..4239e4c --- /dev/null +++ b/depo/.config/systemd/user/taler-local-landing.service @@ -0,0 +1,11 @@ +[Unit] +Description=Landing Website of Taler demo. + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-merchant-demos landing -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-merchant-demos.log +StandardError=append:/home/depolymerization/.taler/logs/taler-merchant-demos.log +EnvironmentFile=/home/depolymerization/.config/systemd/user/taler-local-frontends.env + +[Install] +WantedBy=multi-user.target
\ No newline at end of file diff --git a/depo/.config/systemd/user/taler-local-merchant-backend-token.service b/depo/.config/systemd/user/taler-local-merchant-backend-token.service new file mode 100644 index 0000000..e96551d --- /dev/null +++ b/depo/.config/systemd/user/taler-local-merchant-backend-token.service @@ -0,0 +1,8 @@ +[Unit] +Description=Taler Merchant backend with auth token to allow default instance creation. + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-merchant-httpd -a secret-token:secret -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-merchant-httpd.log +StandardError=append:/home/depolymerization/.taler/logs/taler-merchant-httpd.log + diff --git a/depo/.config/systemd/user/taler-local-merchant-backend.service b/depo/.config/systemd/user/taler-local-merchant-backend.service new file mode 100644 index 0000000..df12179 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-merchant-backend.service @@ -0,0 +1,10 @@ +[Unit] +Description=Taler Merchant backend + +[Service] +ExecStart=/home/depolymerization/.local/bin/taler-merchant-httpd -L DEBUG -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/taler-merchant-httpd.log +StandardError=append:/home/depolymerization/.taler/logs/taler-merchant-httpd.log + +[Install] +WantedBy=multi-user.target
\ No newline at end of file diff --git a/depo/.config/systemd/user/taler-local-port-redirect.service b/depo/.config/systemd/user/taler-local-port-redirect.service new file mode 100644 index 0000000..21fa037 --- /dev/null +++ b/depo/.config/systemd/user/taler-local-port-redirect.service @@ -0,0 +1,6 @@ +[Unit] +Description=Port redirect allowing configuration at X-Forwarded-Host +[Service] +ExecStart=true +StandardOutput=append:/home/depolymerization/.taler/logs/true.log +StandardError=append:/home/depolymerization/.taler/logs/true.log
\ No newline at end of file diff --git a/depo/.config/systemd/user/wire-gateway.service b/depo/.config/systemd/user/wire-gateway.service new file mode 100644 index 0000000..1a8b4b8 --- /dev/null +++ b/depo/.config/systemd/user/wire-gateway.service @@ -0,0 +1,11 @@ +[Unit] +Description=Generic wire gateway + +[Service] +ExecStart=/home/depolymerization/.cargo/bin/wire-gateway -c /home/depolymerization/.taler/config/taler.conf +StandardOutput=append:/home/depolymerization/.taler/logs/wire-gateway.log +StandardError=append:/home/depolymerization/.taler/logs/wire-gateway.log +EnvironmentFile=/home/depolymerization/.config/systemd/user/bitcoind.env + +[Install] +WantedBy=multi-user.target |