1. use PartOf for proper dependency management; 2. add hard coded subnet, with specific ip for app; to use in ufw rules;
15 lines
292 B
Desktop File
15 lines
292 B
Desktop File
[Unit]
|
|
Description=fxreader.online-certbot
|
|
Requires=fxreader.online-gateway
|
|
After=fxreader.online-gateway
|
|
PartOf=fxreader.online-gateway
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/python3 d1/certbot.py
|
|
WorkingDirectory={{PROJECT_ROOT}}
|
|
#Restart=always
|
|
|
|
#[Install]
|
|
#WantedBy=multi-user.target
|