mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
- Move unit file from services/systemd/helsinki-a/ to services/thiswebsitedoesnotexist/ (matches systemd_services role convention) - Add systemd_services: [thiswebsitedoesnotexist] to helsinki-a host_vars - Add systemd_services role to helsinki-a stage in deploy.yml - Remove redundant caddy.service (apt manages this via the caddy role) Closes PESO-117
17 lines
348 B
Desktop File
17 lines
348 B
Desktop File
[Unit]
|
|
Description=This Website Does Not Exist
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/thiswebsitedoesnotexist
|
|
ExecStart=/usr/bin/node app.js
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=NODE_ENV=production
|
|
Environment=PORT=3721
|
|
EnvironmentFile=/opt/thiswebsitedoesnotexist/.env
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|