Skip to content

Commit 39879f4

Browse files
feat(systemd): add unit files
Signed-off-by: John Andersen <johnandersen777@protonmail.com>
1 parent 4ce2c10 commit 39879f4

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Unit]
2+
Description=ATProto based pastbin
3+
[Service]
4+
Type=simple
5+
TimeoutStartSec=0
6+
ExecStart=/home/atprotobin/.venv/bin/python -m atprotobin
7+
User=atprotobin
8+
Environment=VIRTUAL_ENV=/home/atprotobin/.venv
9+
Environment=ATPROTO_BASE_URL=https://atproto.chadig.com
10+
Environment=ATPROTO_HANDLE=publicdomainrelay.atproto.chadig.com
11+
Environment=ATPROTO_PASSWORD=AAAAAAAAAAAAAAAAAAAAAAAA
12+
[Install]
13+
WantedBy=default.target
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Unit]
2+
Description=Caddy Reverse Proxy for paste.chadig.com - /etc/systemd/system/caddy-paste-chadig-com.service
3+
[Service]
4+
Type=simple
5+
TimeoutStartSec=0
6+
ExecStart=caddy reverse-proxy --from paste.chadig.com --to :8000
7+
[Install]
8+
WantedBy=default.target

0 commit comments

Comments
 (0)