debian-packages/packages/git/pasty-git/materials/pasty.service

19 lines
363 B
SYSTEMD
Raw Permalink Normal View History

2024-03-12 09:36:16 +00:00
[Unit]
Description=Pasty is a fast and lightweight code pasting server
After=network.target
[Service]
User=pasty
# Here store the configs
EnvironmentFile=/etc/pasty/env
# Start program here, the pasty read `./web` to find the front pages
WorkingDirectory=/usr/lib/pasty/
ExecStart=/usr/lib/pasty/pasty
Restart=on-failure
[Install]
WantedBy=multi-user.target