tangled
alpha
login
or
join now
edavis.dev
/
bsky-tools
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
Add service files
Eric Davis
2 years ago
dbe5a69c
28c6dfb5
+48
3 changed files
expand all
collapse all
unified
split
service
bsky-activity.service
bsky-firehose.service
plc-activity.service
+16
service/bsky-activity.service
···
1
1
+
[Unit]
2
2
+
Description=Bsky Activity
3
3
+
After=network.target syslog.target
4
4
+
5
5
+
[Service]
6
6
+
Type=simple
7
7
+
User=eric
8
8
+
WorkingDirectory=/home/eric/bsky-tools
9
9
+
ExecStart=/home/eric/.local/bin/pipenv run ./bsky-activity.py
10
10
+
TimeoutSec=15
11
11
+
Restart=on-failure
12
12
+
RestartSec=1
13
13
+
StandardOutput=journal
14
14
+
15
15
+
[Install]
16
16
+
WantedBy=multi-user.target
+16
service/bsky-firehose.service
···
1
1
+
[Unit]
2
2
+
Description=Bsky Firehose
3
3
+
After=network.target syslog.target
4
4
+
5
5
+
[Service]
6
6
+
Type=simple
7
7
+
User=eric
8
8
+
WorkingDirectory=/home/eric/bsky-tools
9
9
+
ExecStart=/home/eric/.local/bin/pipenv run ./firehose.py
10
10
+
TimeoutSec=15
11
11
+
Restart=on-failure
12
12
+
RestartSec=1
13
13
+
StandardOutput=journal
14
14
+
15
15
+
[Install]
16
16
+
WantedBy=multi-user.target
+16
service/plc-activity.service
···
1
1
+
[Unit]
2
2
+
Description=PLC Activity
3
3
+
After=network.target syslog.target
4
4
+
5
5
+
[Service]
6
6
+
Type=simple
7
7
+
User=eric
8
8
+
WorkingDirectory=/home/eric/bsky-tools
9
9
+
ExecStart=/home/eric/.local/bin/pipenv run ./plc-activity.py
10
10
+
TimeoutSec=15
11
11
+
Restart=on-failure
12
12
+
RestartSec=1
13
13
+
StandardOutput=journal
14
14
+
15
15
+
[Install]
16
16
+
WantedBy=multi-user.target