forms/contrib/librepages-forms.service
Aravinth Manivannan 1c89173599
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: use librepages-forms user in systemd service
2022-12-30 04:42:56 +05:30

24 lines
499 B
Desktop File

[Unit]
Description=LibrePages Forms: Easiest way to deploy websites. From component
[Service]
Type=simple
User=librepages-forms
ExecStart=/usr/bin/forms serve
Restart=on-failure
RestartSec=1
SuccessExitStatus=3 4
RestartForceExitStatus=3 4
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
NoNewPrivileges=true
Environment="RUST_LOG=info"
[Unit]
Wants=network-online.target
Wants=network-online.target
Requires=postgresql.service
After=syslog.target
[Install]
WantedBy=multi-user.target