summarylogtreecommitdiffstats
path: root/proxigram.service
blob: 7b1db74e9527523728faff693540bae4a5f224b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=A privacy focused and open source front-end for Instagram
After=network.target

[Service]
Type=simple
User=proxigram
Group=proxigram
EnvironmentFile=-/etc/proxigram.conf
WorkingDirectory=/opt/proxigram
ExecStartPre=/opt/proxigram/node_modules/next/dist/bin/next build
ExecStart=/opt/proxigram/node_modules/next/dist/bin/next start -p $PORT
ReadWriteDirectories=-/opt/proxigram

[Install]
WantedBy=multi-user.target