Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup script for systemd #19

Open
VecH opened this issue Jun 8, 2024 · 0 comments
Open

startup script for systemd #19

VecH opened this issue Jun 8, 2024 · 0 comments
Labels

Comments

@VecH
Copy link

VecH commented Jun 8, 2024

/etc/systemd/system/memogram.service

[Unit]
Description=Memogram service (Telegram-Integration)
Wants=network.target
After=network.target

[Service]
Type=forking
User=root
Restart=always
RestartSec=10
WorkingDirectory=/opt/telegram-integration
ExecStart=/usr/bin/bash -c '/opt/telegram-integration/memogram &'
ExecStop=/usr/bin/killall memogram

[Install]
WantedBy=multi-user.target
@github-actions github-actions bot added the Stale label Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant