Skip to content

Commit e46068b

Browse files
committed
Add I/O definitions to NetBox service unit
1 parent 6b2ce67 commit e46068b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/netbox.service.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ After=syslog.target
99
ExecStart=/usr/bin/env uwsgi --ini {{ netbox_shared_path }}/uwsgi.ini
1010
ExecReload=/bin/kill -1 $MAINPID
1111
ExecStop=/bin/kill -2 $MAINPID
12+
StandardInput=socket
13+
StandardOutput=journal
14+
StandardError=journal
1215
User={{ netbox_user }}
1316
Group={{ netbox_group }}
1417
Restart=on-failure

0 commit comments

Comments
 (0)