debian-packages/packages/git/pasty-git/materials/pasty.service
2024-03-12 17:36:16 +08:00

19 lines
363 B
Desktop File

[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