blob: c45f36a9104535f42d8e913cf643c21a5adebd03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Be sure to use `systemctl edit homepage` to modify this service with an override.conf because
# direct changes will be overwritten by package updates.
#
# A user per service w/ shared group setup would have an override like:
# [Service]
# Group=sharedgroupname
# UMask=002
[Unit]
Description=Homepage Service
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=homepage
Group=homepage
SyslogIdentifier=homepage
WorkingDirectory=/var/lib/homepage/
ExecStart=/usr/bin/pnpm start
Restart=on-failure
[Install]
WantedBy=multi-user.target
|