Skip to content

Commit 4bcdab7

Browse files
author
Luke Watts
committed
chore(deployment): inline service definition
1 parent 2056c6f commit 4bcdab7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

deploy/aggregator.service

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[Unit]
2+
Description=Makerspace Leiden Aggregator
3+
After=network.target redis.service signal.service
4+
5+
[Service]
6+
Type=simple
7+
Restart=always
8+
RestartSec=2
9+
User=aggregator
10+
EnvironmentFile=/usr/local/aggregator/.env
11+
ExecStart=/usr/local/aggregator/venv/bin/python /usr/local/aggregator/server-prod.py
12+
13+
[Install]
14+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)