diff options
| author | Ken <ken@jots.org> | 2026-05-09 04:41:03 +0000 |
|---|---|---|
| committer | Ken <ken@jots.org> | 2026-05-09 04:41:03 +0000 |
| commit | c75beda743dfd6af63f512e928d0889d9ead3973 (patch) | |
| tree | bed91fd4f9d36a905be0b1ef990457a1e37e567b /config/albumen.service | |
Initial commit — Albumen photo album
Ruby/Sinatra self-hosted photo album with directory hierarchy,
per-photo captions and visibility, lightbox, slideshow, admin UI,
and Let's Encrypt HTTPS via Apache reverse proxy on prouter.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'config/albumen.service')
| -rw-r--r-- | config/albumen.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/albumen.service b/config/albumen.service new file mode 100644 index 0000000..9fea12f --- /dev/null +++ b/config/albumen.service @@ -0,0 +1,19 @@ +[Unit] +Description=Albumen photo album (Puma) +After=network.target + +[Service] +Type=simple +User=albumen +Group=albumen +WorkingDirectory=/opt/albumen +Environment=RACK_ENV=production +Environment=MEDIA_ROOT=/var/albumen +Environment=CACHE_ROOT=/opt/albumen/cache/thumbs +Environment=CONFIG_PATH=/opt/albumen/config.yml +ExecStart=/usr/local/bin/bundle exec puma -C config/puma.rb +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target |
