librepages/contrib/librepages.service
Aravinth Manivannan c44ecdc53f
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: publish systemd service file
2022-12-30 03:26:17 +05:30

24 lines
476 B
Desktop File

[Unit]
Description=LibrePages: Easiest way to deploy websites
[Service]
Type=simple
User=librepages
ExecStart=/usr/bin/librepages 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