summaryrefslogtreecommitdiffstats
path: root/contrib/dilbert.service
blob: 53feacba8e41632b3f6452ab978145a3591f6934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=dilbertRss
After=syslog.target
After=network.target

[Service]
Type=simple

# set user and group
User=dilbert
Group=dilbert

# configure location
WorkingDirectory=/home/dilbert/dilbertRss/
ExecStart=uvicorn main:app --port 8866

Restart=always
RestartSec=15

[Install]
WantedBy=multi-user.target