summarylogtreecommitdiffstats
path: root/systemd.service
blob: 96ce985ddd03b3d0675cdda85c150136ca84217a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Photon Lemmy - An alternative front end to Lemmy
After=network.target

[Service]
User=photon-lemmy
WorkingDirectory=/usr/share/photon-lemmy
ExecStart=/usr/bin/bun build/index.js
EnvironmentFile=/etc/photon-lemmy/config.env
Restart=on-failure

[Install]
WantedBy=multi-user.target