[GH-ISSUE #1] Official systemd support #2

Closed
opened 2026-02-26 10:35:23 +03:00 by kerem · 3 comments
Owner

Originally created by @HLFH on GitHub (Dec 30, 2015).
Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/1

Hi,

It would be great to get official systemd support with a powerdns-admin.service file.
Really nice WebUI btw.

Thanks in advance,
HLFH

Originally created by @HLFH on GitHub (Dec 30, 2015). Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/1 Hi, It would be great to get official systemd support with a powerdns-admin.service file. Really nice WebUI btw. Thanks in advance, HLFH
kerem closed this issue 2026-02-26 10:35:23 +03:00
Author
Owner

@ngoduykhanh commented on GitHub (Dec 31, 2015):

Hi @HLFH ,

You can run it in several ways. I would recommend using systemd or supervisord. For systemd script, please find the example below

$ sudo vim /etc/systemd/system/powerdns-admin.service

[Unit]
Description=PowerDNS-Admin
After=network.target

[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/web/powerdns-admin/run.py
WorkingDirectory=/opt/web/powerdns-admin
Environment="PATH=/opt/web/powerdns-admin"

[Install]
WantedBy=multi-user.target

Then sudo systemctl start powerdns-admin to start the Powerdns-Admin service.

<!-- gh-comment-id:168115493 --> @ngoduykhanh commented on GitHub (Dec 31, 2015): Hi @HLFH , You can run it in several ways. I would recommend using `systemd` or `supervisord`. For `systemd` script, please find the example below `$ sudo vim /etc/systemd/system/powerdns-admin.service` ``` [Unit] Description=PowerDNS-Admin After=network.target [Service] Type=simple User=root Group=root ExecStart=/opt/web/powerdns-admin/run.py WorkingDirectory=/opt/web/powerdns-admin Environment="PATH=/opt/web/powerdns-admin" [Install] WantedBy=multi-user.target ``` Then `sudo systemctl start powerdns-admin` to start the Powerdns-Admin service.
Author
Owner

@HLFH commented on GitHub (Dec 31, 2015):

Thanks!

<!-- gh-comment-id:168144303 --> @HLFH commented on GitHub (Dec 31, 2015): Thanks!
Author
Owner

@c0fe commented on GitHub (Apr 14, 2016):

Confirmed working on Ubuntu 16.04

<!-- gh-comment-id:209696085 --> @c0fe commented on GitHub (Apr 14, 2016): Confirmed working on Ubuntu 16.04
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PowerDNS-Admin-PowerDNS-Admin#2
No description provided.