mastodon-clippy/mastodon-clippy.service.example
2021-05-15 15:03:59 +10:00

15 lines
373 B
Plaintext

[Service]
Type=simple
ExecStart=/usr/bin/node index.js
Restart=always
RestartSec=15
TimeoutSec=15
KillMode=process
User=clippy
WorkingDirectory=/home/clippy/mastodon-clippy
Environment="CLIPPY_TOPIC=auspol"
Environment="CLIPPY_ACCESS_TOKEN=your-token-here"
Environment="CLIPPY_DOMAIN=example.com"
Environment="CLIPPY_USER=auspol_clippy"
[Install]
WantedBy=multi-user.target